how to update the named server automatically.
|
Author |
Message |
|
|
Posted : Sat, 20 September 2008 08:25:27
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
|
Posted : Sun, 05 October 2008 16:53:57
Subject :
how to update the named server automatically.
You're right, the question doesn't make much sense. But look into some BIND tutorials, maybe you'll find what you're looking for.
|
|
Fabio Berbert de Paula
|
Posted : Tue, 07 October 2008 22:30:23
Subject :
Re: 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]
|