[TriLUG] Reverse Lookup Using /etc/hosts
jason at monsterjam.org
jason at monsterjam.org
Thu Apr 26 20:54:42 EDT 2007
a very easy way to do what you want is to install dnsmasq
it will allow you to treat your /etc/hosts
as dns entries to your server AND clients
i think the -b flag will do what you want.
release 0.991 Added -b flag: when set causes dnsmasq to always answer
reverse queries on the RFC 1918 private IP space itself and
never forward them to an upstream server. If the name is not in
/etc/hosts, dnsmasq replies with the dotted-quad address.
Jason
--
================================================
| Jason Welsh jason at monsterjam.org |
| http://monsterjam.org DSS PGP: 0x5E30CC98 |
| gpg key: http://monsterjam.org/gpg/ |
================================================
More information about the TriLUG
mailing list