Posts

Showing posts from January, 2008

Ericsson W25 DNS tuning

After using the W25 for some time I wanted to add a correct domain handling and certain new names to the DNS services offered by the router. Default behavior of the DNS system: The W25 uses the DNS server called DNRD which is a simple caching, forwarding DNS server, with the additional feature of being able to resolve names from /etc/hosts file. This is used in the original SW to add every local client after requesting an address trough DHCP. The updating of the hosts file is done by the script /bin/updatehostsfile which in is called by the script /etc/udhcpd/udhcpdnotify. The name of the script to be called by the dhcp daemon is specified in /etc/udhcpd.conf. Handling your internal domain with the W25: To handle your internal domain correctly you need to do the following: Add your local domain to the DHCP messages Create an updated "updatehostfile" script to include your domain names and fix addresses to the /etc/hosts file Change the dhcpd configuration to call your update