Fedora NetworkManager and dhclient help request
Shawn O'Shea
shawn at eth0.net
Fri Oct 7 12:37:38 EDT 2011
Ken's referring to this post from me back on July 5th, 2011:
http://www.mail-archive.com/gnhlug-discuss@mail.gnhlug.org/msg29812.html
I've since seen that the proper Red Hat/Fedora/CentOS way to do this is set
DHCP_HOSTNAME in your /etc/sysconfig/network-scritps/ifcfg-eth0 (or replace
eth0 with your correct interface).
Sending the host-name option is enabled by default in Ubuntu.
This blog post, "Make DHCP auto-update the DNS" seems to have a good summary
of the problem and solutions for different platforms.
http://www.held.org.il/blog/2011/01/make-dhcp-auto-update-dynamic-dns/
-Shawn
On Fri, Oct 7, 2011 at 12:04 PM, Ken D'Ambrosio <ken at jots.org> wrote:
> Hey, Pete -- I refer you to the e-mail thread from when I asked the very
> same
> question:
>
> http://answerpot.com/showthread.php?2777045-Dynamic+DNS%3A+Ubuntu+vs.+CentOS
> .
> or http://tinyurl.com/6hav84b
>
> (I know there are other archives, but this was the first Google hit.)
>
> Shawn's response (search for "Shawn") was the magic that did the trick for
> me.
>
> -Ken
>
>
>
> On Fri, 7 Oct 2011 11:42:54 -0400 Pete Snider <pds100 at gmail.com> wrote
>
> > Hi,
> >
> > As numerous places of work are, I am in a mostly windows shop. I'm
> > having problems with fedora network manager not setting the hostname
> > through dhclient to the windows dns and dhcp server. There are 2
> > people here that are using Ubuntu without any problems. I tried the
> > same setup but it fails. I created /etc/dhclient-eth0.conf with the
> > following entries below and still not working. The values do are in
> > /var/run/nm-dhclient-eth0.conf used by dhclient.
> >
> > Any ideas on what to check next or how to resolve the issue.
> >
> > thanks,
> > -pete
> >
> >
> > contents of /etc/dhclient-eth0.conf:
> >
> > option rfc3442-classless-static-routes code 121 = array of unsigned
> integer
> > 8;
> >
> > send fqdn.fqdn "pds-lnxt500.xyz.com.";
> > send fqdn.server-update on;
> > send option host-name "pds-lnxt500";
> >
> > request subnet-mask, broadcast-address, time-offset, routers,
> > domain-name, domain-name-servers, domain-search, host-name,
> > netbios-name-servers, netbios-scope, interface-mtu,
> > rfc3442-classless-static-routes, ntp-servers;
> >
> > interface "tun0" {
> > send option fqdn.fqdn "pds-lnxt500-vpn.xyz.com.";
> > send option host-name "pds-lnxt500-vpn";
> > send option fqdn.server-update on;
> > }
> > _______________________________________________
> > gnhlug-discuss mailing list
> > gnhlug-discuss at mail.gnhlug.org
> > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
>
>
>
>
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20111007/6c91b781/attachment.html
More information about the gnhlug-discuss
mailing list