Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Networking Issues, DHCP DNS resolution
frencht
 Posted: Dec 5 2011, 02:48 PM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 1083
Joined: 1-December 11









Moving from Centos 5.5 to SL Linux 6.1 DHCP does not appear to register itself in DNS. You get a DHCP address but the system will not resolve to the dns name, only IP address. Any Ideas?
PMEmail Poster
^
helikaon
 Posted: Dec 6 2011, 09:42 AM
Quote Post


SLF Moderator
******

Group: Moderators
Posts: 606
Member No.: 4
Joined: 8-April 11









QUOTE (frencht @ Dec 5 2011, 02:48 PM)
Moving from Centos 5.5 to SL Linux 6.1 DHCP does not appear to register itself in DNS. You get a DHCP address but the system will not resolve to the dns name, only IP address. Any Ideas?


Hi,
as i understand, there is:

1. SL6 DHCP server (config moved from CentOS 5x?)
2. client(s) wanting to get IP address and DNS IP address to resolve ....

what i'd do:
1. check the dhcpd.conf - and see if your DNS server is stated there
2. check the client network setup - /etc/resolv.conf (if it is linux)

But anyway, most likely, problem is in the dhcpd.conf. If you'd posted it here, it would help us to see what you have ..

cheers,


--------------------
PMEmail Poster
^
frencht
 Posted: Dec 6 2011, 10:56 PM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 1083
Joined: 1-December 11









[here is the contents of resolv.conf

; generated by /sbin/dhclient-script
search mayo.edu
nameserver ###.###.###.###
nameserver ###.###.###.###

It wasn't that the system was not getting an address, it was other systems could not resolve its DNS name.

I disabled networkmanager and rebooted.

On the reboot as su I ran "dhclient -4 -H "myhostname"

That forced my DNS name to register and now other systems can resolve my system. It has survived several reboots so I think I am good now.

Thanks for your response. If this does not make sense please feel free to comment.

This post has been edited by frencht: Dec 6 2011, 11:03 PM
PMEmail Poster
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll