palettentreter Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 06 Feb 2006 Posts: 104
|
Posted: Sun Sep 12, 2010 2:42 am Post subject: mobile DNS |
|
|
Hey,
I keep running into various problems, all caused by some misconfiguration in my DNS (especially kerberos is quite picky). But how to handle it on a laptop that moves between multiple networks and domains? It seems that dhcpcd is unable to set my FQDN from DHCP, but NetworkManager apparently does it (which in turn causes problems with X auth, but at least we know that's a bug...).
Considering that in different networks, my laptop gets different IPs and different FQDNs, the way NetworkManager handles it seems logical. But stuff like init-scripts and dhcp clients don't seem to consider that a good idea (i.e. they don't allow it and just make it all static). And then there's /etc/hosts. What am I supposed to do with that? Put all my hostnames behind 127.0.0.1? At least the host's FQDN for kerberos apparently has to be in there. Add to that some private VPNs ( = one host in multiple domains), as well as IPv4LL/Avahi (which in fact causes relatively little trouble), and your mess is complete. FYI, I already run dnsmasq locally so I can handle private DNS servers for particular (VPN-) subnets.
Anybody knows any proper documentation on this whole mess? It seems NetworkManager is the way to go, but it still lacks some features. So what about the standard tools?
How do you do it? |
|