LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-25-2011, 02:28 AM   #1
sailE
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Rep: Reputation: Disabled
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?
 
Old 12-25-2011, 02:48 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 189Reputation: 189
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.
 
Old 12-26-2011, 01:02 AM   #3
RobertEachus
Member
 
Registered: Dec 2011
Posts: 32

Rep: Reputation: 8
Quote:
Originally Posted by sailE View Post
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.
 
1 members found this post helpful.
  


Reply

Tags
bind9, dns, dnsserver


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure DHCP client to register itself to DNS server sufiah Red Hat 2 08-25-2010 02:16 PM
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
DHCP RH-linux-client, windows-server, DNS-registration not happening armadilloman Linux - Networking 5 01-12-2009 08:53 AM
dhcp client .. not setting gateway and dns server scabrous1 Linux - Networking 1 05-09-2006 10:31 AM
configuring dns server on dhcp client ydpk Linux - Networking 3 11-04-2004 10:23 PM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration