|
Author |
Message |
|
|
Posted Sep 20, 2008 at 8:25:27 AM
Subject: how to update the named server automatically.
Hi all,
plz apologoze me if my question does not make much sense.
i am creating an application the create subdomain for my clients.
after crating the subdoamain i nead to update or resstart the named server to listen the newly created subdomain.so i have there two machanism to update the named server to listen the newly created subdomain---
1)i update the named server using my java code
such as i m getting thr PID of the named process using [b]pgrep -x named[/b] command and then i am using the following command to update the named-
[b]kill -HUP 32435(PID)[/b].
but my application does not have permission to do it.
2)i can use automatic dynamic update to named using nsupdate.
i m confused, that whaich machanism i should use here in this situation.
i am biggener in linux so i do not hve any idea to the nsupdate.
Another question can i update the named server every second dynamically(as an background process) to listen the newly created subdomian?
Is this a good idea?
if someone have any idea of these type of appliation plz let me know the idea.
thanks a lot in advance.
|
Shashank Sharma
Joined Jan 01, 1970 Posts: 1657
Location:New Delhi, India
Other Topics
|
Posted:
Oct 05, 2008 4:53:57 PM
Subject: how to update the named server automatically.
|
Fabio Berbert de Paula
Joined Aug 29, 2008 Posts: 7
Other Topics
|
Posted:
Oct 07, 2008 10:30:23 PM
Subject: how to update the named server automatically.
Hi,
I wrote a tutorial that helps you to create a dynamic DNS server with client updates such as no-ip.com. Follow this link (in portuguese, but you can track only the Linux commands - in bold).
[url=http://www.vivaolinux.com.br/artigo/Criando-seu-proprio-servidor-de-DNS-dinamico-(nsupdate-+-bind9)]Criando seu próprio servidor de DNS dinâmico (nsupdate + bind9)[/url]
Either you can use the [url=http://translate.google.com/]Google Translator[/url] to read the text.
---
Fábio Berbert de Paula at [url=http://www.vivaolinux.com.br/linux/]Linux[/url]
|