[ale] Setting domain name from DHCP?
Michael B. Trausch
mike at trausch.us
Sat Mar 15 18:12:15 EDT 2008
Alright, so I am in the midst of doing some massively needed, quite
overdue overhauling of my server to match the needs of my little home
network better.
I am trying to centralize just about every aspect of the network, but am
apparently failing to do so in some respects. I would like each machine
to have the name <hostname>, where the hostname is set locally on the
machine, but with a domain name as well, supplied by my DHCP server.
When I connect to the network, the DHCP server provides the following
information:
-------------------------
Mar 15 18:09:19 sage NetworkManager: <info> Retrieved the following IP4
configuration from the DHCP daemon:
Mar 15 18:09:19 sage NetworkManager: <info> address 10.0.1.1
Mar 15 18:09:19 sage NetworkManager: <info> netmask 255.0.0.0
Mar 15 18:09:19 sage NetworkManager: <info> broadcast 10.255.255.255
Mar 15 18:09:19 sage NetworkManager: <info> gateway 10.0.0.1
Mar 15 18:09:19 sage NetworkManager: <info> nameserver 10.0.0.1
Mar 15 18:09:19 sage NetworkManager: <info> domain name 'spicerack'
-------------------------
It is supplying the domain name, just fine, however:
-------------------------
mbt at sage:~$ dnsdomainname
mbt at sage:~$ hostname
sage
mbt at sage:~$ hostname --fqdn
sage
mbt at sage:~$
-------------------------
Seems to show that the machine isn't picking it up from the DHCP server.
What I would like to happen is to have the domain name picked up from
the DHCP server sending that information. These machines are all Ubuntu
machines, using NetworkManager to connect to the network. Is there a
way to do this, or do I /have/ to set the domain name on each of the
workstations manually?
--- Mike
--
Michael B. Trausch mike at trausch.us
home: 404-592-5746, 1 www.trausch.us
cell: 678-522-7934 im: mike at trausch.us, jabber
Ubuntu Unofficial Backports Project: http://backports.trausch.us/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20080315/4ea61826/attachment.bin
More information about the Ale
mailing list