So here is how Net::DNS finds a DNS server. The default is 127.0.0.1 so if it can't find another server using any of these methods it will use localhost.
/etc/resolv.conf ~/.resolv.conf (home dir) ./.resolv.conf (current dir) RES_NAMESERVERS environment variable These are all read from top to bottom, with anything found overwriting a previously found item. So if you have the environment variable RES_NAMESERVERS set, it'll overwrite your normal resolv.conf value. You could use this variable to manually set the DNS server if all else fails. -- andyg ------------------------------------------------------------------------ andyg's Profile: http://forums.slimdevices.com/member.php?userid=3292 View this thread: http://forums.slimdevices.com/showthread.php?t=26294 _______________________________________________ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss