LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install DNS Server on a DHCP client (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-dns-server-on-a-dhcp-client-920430/)

sailE 12-25-2011 02:28 AM

How to install DNS Server on a DHCP client
 
Hi,

i was trying to setup a dns server here :

http://www.linuxquestions.org/questi...opment-919299/

it looked like the only missing piece was forwarding other requests outside of my test domain, which i was about to test when i noticed that my machine has dynamic ip.

is it possible to setup a dns server that gets its ip as a dhcp client, and how?

fukawi1 12-25-2011 02:48 AM

Yes its possible. Look into dynamic DNS, https://account.dyn.com/entrance/

Although i have never used it, so i cant be of much more help than that.

RobertEachus 12-26-2011 01:02 AM

Quote:

Originally Posted by sailE (Post 4557919)
is it possible to setup a dns server that gets its ip as a dhcp client, and how?

If you are using bind/named just don't set the listen-on option in named.conf it defaults to "any".

This means that when bind starts it will bind to the address it got from the dhcp server and 127.0.0.1 and start listening on both IPs on port 53.


All times are GMT -5. The time now is 06:20 AM.