Peter E. Abresch Jr. - at Pepco wrote:
Is there any method of allowing Linux to perform reverse DNS lookups using
the /etc/hosts file or some other file? I currently have the interface
addresses in /etc/hosts but now have a requirement to perform a reverse
name lookup. I use an external DNS as well but that is under another
department?s control. I need more specific control in case an interface
goes down. Thanks.
Do you mean a real reverse DNS lookup? If yes, then it's really tricky
as you need to "simulate" a root server that can do that as reverse DNS
lookups always use the in-addr.arpa domain:
Looking up e.g.
192.168.200.3
results in a real DNS query to
3.200.168.192.in-addr.arpa
So your DNS server needs to provide that information directly. There
might be ways around this problem, but i am not aware of any easy
solutions, sorry.
Read ya, Phil
--
Philipp Knirsch | Tel.: +49-711-96437-470
Development | Fax.: +49-711-96437-111
Red Hat GmbH | Email: Phil Knirsch <[EMAIL PROTECTED]>
Hauptstaetterstr. 58 | Web: http://www.redhat.de/
D-70178 Stuttgart
Motd: You're only jealous cos the little penguins are talking to me.
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390