- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- reverse lookup interesting situation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 10:04 AM
08-10-2005 10:04 AM
Windows DNS Server=WinDNS
HP UNIX DB server=UnixDB
UnixDB is not running DNS:
bg-qad01:/home/techsup/creindk> grep NAMED= /etc/rc.config.d/namesvrs
NAMED=0
bg-qad01:/home/techsup/creindk>
I had a situation where clientA couldn't fully establish an ftp connection to UnixDB. It was making the connection but no login prompt. I couldn't solve the problem; I went to our networking team. They said, "WinDNS doesn't have an entry for clientA in one of its' tables, and your UnixDB is trying to do a reverse lookup."
The networking team added clientA to 'some' config file on WinDNS and sure enough it worked. Meaning, immediately after they made the change, I ran ftp from clientA to UnixDB and instantly login prompt, and all is good.
But........
My networking team is saying, "reverse lookups are bad." (I don't pretend to know if reverse lookups are bad)..... And that I must turn off reverse lookups on all my servers.
Is my networking team correct in saying this?
UnixDB isn't even configured as a DNS server.
Doesn't reverse lookup only pertain to DNS servers?
If not, how would I turn off reverse lookups; what config file? Should I demand they keep WinDNS accurate and updated?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 10:15 AM
08-10-2005 10:15 AM
Re: reverse lookup interesting situation
make sure you have a healthy DNS server, preferably more than one, in your /etc/nsswitch.conf, and again make sure you have the DNS resolution order in the /etc/nsswitch.conf file set up properly. You do not need to be running named or anything for reverse lookup. Resolution is the duty of the DNS servers specified in the resolv.conf file.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 10:27 AM
08-10-2005 10:27 AM
SolutionFor every central DNS server, there are two main tables. Let's call them "forward lookup" and "reverse lookup" tables.
The forward lookup table resolves hostnames to IP addresses. The reverse lookup table resolves IP addresses back to hostnames.
This is all done on the central DNS server and not your local HP-UX box. In fact, your local HP-UX box has nothing to do with serving DNS. It is only a "client" to your central DNS system.
What I think your Network Admin is saying, and this is only an assumption based on your message, is to configure your HP-UX box to NOT do reverse lookups when trying to do some types of authentication.
And what does this mean? Well, for security purposes, applications (and the resolver library) will try to verify your IP address -- both forward and reverse -- when you make a network connection (ie: telnet) to make sure you are coming from the system you say you are coming from (because IP addresses can be spoofed). This is only a small amount of security that can lead to big problems if DNS is NOT configured correctly on the central DNS server.
As far as I know, you cannot globally turn off this "forward/reverse" verification because it first starts at a resolver level and applications need to determine whether to use this data or not...so it ends up being an application level issue. Needless to say it is a slippery slope to try to circumvent this. And I don't think HP-UX provides such mechanism.
The right way to handle this is for the Network Admin to setup the central DNS server correctly, and that means to have both forward and reverse DNS working properly.
Another solution is to not use DNS at all on your HP-UX box and use a /etc/hosts file. This would also require you to disable dns in /etc/nsswitch.conf. But then no DNS lookups would work and I'm not sure you want this either.
Finally, the last alternative would be to use both a hosts file and dns. But that gets messy too.
If there are other options, I'm sure someone else will chime in. But in the meantime, reverse lookups are NOT bad, and they wouldn't be bad if the central DNS server and all of the clients were configured correctly.
That is my 2 cents. Good luck...
-- Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 12:50 AM
08-11-2005 12:50 AM
Re: reverse lookup interesting situation
What reason did your network admins give for reverse-lookups being "bad?"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 01:15 AM
08-11-2005 01:15 AM
Re: reverse lookup interesting situation
I believe I have enough to "tell them this is not a Unix issue" and they need to manage the DNS servers most closely.
It sounds like from what all of you have replied is that there is no explicit config parameter at the Unix level that says, do not do reverse look ups.
If an application is doing a reverse lookup, (ftp, or whatever that is a different story). How I'd determine that I have no idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 02:35 AM
08-11-2005 02:35 AM
Re: reverse lookup interesting situation
Jeeze, you'd think with their pointy-clicky interfaces it'd be easy enough for them!
;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 05:17 AM
08-11-2005 05:17 AM
Re: reverse lookup interesting situation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 05:38 AM
08-11-2005 05:38 AM
Re: reverse lookup interesting situation
I'm closing this thread now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 05:38 AM
08-11-2005 05:38 AM