mdns_relay - Relays ordinary DNS queries into the multicast DNS system
mycomputer:/root# perl mdns_relay.pl
Relays ordinary DNS queries into the multicast DNS system
Run this program as root, and add a line "nameserver 127.0.0.1" to the top of your /etc/resolv.conf file. The nameserver line must be the first nameserver line in your resolv.conf file. This program will check the multicast DNS system for the hostname you typed in. If it can't find it, it will pretend to fail rather than send back a 'not found' error, and your computer will move to the next DNS server. If a real DNS server is first it will always return a 'not found' error, so your request will never be sent to the multicast DNS system.
The RFC is still in draft form, so do a web search for "multicst DNS"
Jepri, jepri@perlmonk.org (Perl and C wrappers)
Copyright 2003 by Jepri (wrappers)
This library is free software; you can redistribute it and/or modify it under the same terms of the GPL.
To install Net::MDNS::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::MDNS::Client
CPAN shell
perl -MCPAN -e shell install Net::MDNS::Client
For more information on module installation, please visit the detailed CPAN module installation guide.