Greetings, all. I'm running 2.2r3, and I'm having some difficulties setting my FQDN. My IP address is assigned via DHCP from a server here at work; I'm using pump. The DHCP server is set up such that when it assigns an IP address, it automatically updates the DNS tables on that server according to the hostname that my machine supplies during the DHCP operation. However, I'm still having some problems:
[rcclinux:~]$ hostname rcclinux [rcclinux:~]$ hostname --fqdn rcclinux [rcclinux:~]$ ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:03:47:87:B5:44 inet addr:172.16.116.195 Bcast:255.255.255.255 Mask:255.255.255.0 UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:5064 errors:0 dropped:0 overruns:0 frame:0 TX packets:645 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:9 Base address:0xf000 [rcclinux:~]$ nslookup 172.16.116.195 Server: moe.inetint.com Address: 172.16.99.20 Name: rcclinux.inetint.com Address: 172.16.116.195 My /etc/hosts file doesn't have anything except localhost and entries for the various NIS servers, not all of which are in DNS. (I use NIS only for password and group lookups; host lookups are entirely DNS.) I really don't want to edit /etc/hosts every time my IP address changes, and I don't know that there's a way to get pump to do this for me automatically. Is there another way to set the FQDN? I know that dhcpcd, in the dhcp-client package, allows you to run an arbitrary script whenever the IP address changes, but I'm not sure how to use this instead of pump. If I simply uninstall pump and replace it with dhcp-client, will ifup automatically switch over? How do I specify arguments (like the script to be run) to dhcpcd, given that it would be invoked by ifup? My /etc/resolv.conf file (which I think is created by pump) contains a search line, but no domain line. I don't want to edit this, because pump will overwrite it the next time it grabs an address. Any suggestions would be most welcome. Thanks in advance, Richard