- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reverse DNS?
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
02-08-2005 08:56 AM
02-08-2005 08:56 AM
We have run into a few situations with customers, where the DNS server becomes flakey and connections (web and telnet) connections start timing out.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2005 09:05 AM
02-08-2005 09:05 AM
Re: Reverse DNS?
Many mail servers, aol, mine require a reverse DNS database exist or they simply won't accept the mail. This is to reduce spam. That does work, that mere hack dropped my spam traffic 30% when I implemented it.
The existance or lack of existance of this database should make no difference with regards to web or telnet connections.
Are any errors being logged in the access_log database for the web server or the /var/adm/syslog/syslog.log log for the server?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2005 09:11 AM
02-08-2005 09:11 AM
Re: Reverse DNS?
The web connections are not necessarily timing out. Some timout, some are just really slow, while it waits for the DNS timeout.
The telnet issue are only present when establishing the connections. Once a connection is made, then everything is fine. Again they don't get a login prompt until the DNS times out.
I'll check logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 03:36 AM
02-09-2005 03:36 AM
Re: Reverse DNS?
Can you post these files:
/etc/nsswitch.conf
/etc/resolv.conf
the output of:
what `which named`
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 03:50 AM
02-09-2005 03:50 AM
Re: Reverse DNS?
This is a standard UNIX behavior, the timeout for telnetd can be raised using the -n option in inetd.conf. I do not know if it can be completely disabled, a way might be to disable inetd logging.
But I don't think it would be good to disable logging to solve this issue. Having no reverse lookup is against internet standards and I feel this would better be the better point for fixing something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 04:42 AM
02-09-2005 04:42 AM
Re: Reverse DNS?
There should be two or more DNS servers listed in /etc/resolv.conf.
A single DNS server is plusungood.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 05:38 AM
02-09-2005 05:38 AM
Re: Reverse DNS?
The length of time for the internal DNS to timeout, when it starts acting up, is what is causing the issue.
I guess what I really need is just an explanation, that I can give to the customer, since they are asking why the server does a reverse DNS lookup, and why can't it be disabled.
As a workaround to the problems they experience with connectivity from their WEB server, I have added necessary IP addresses to the hosts file.
Here are the contents of resolv.conf and nsswitch.conf in case anyone has some comments.
/etc/resolv.conf:
domain xxxxxxx.com
nameserver 10.200.4.103
nameserver 206.183.224.7
nameserver 206.183.224.8
/etc/nsswitch.conf:
hosts: files [NOTFOUND=continue] dns [NOTFOUND=continue UNAVAIL=continue]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 05:53 AM
02-09-2005 05:53 AM
Re: Reverse DNS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 06:16 AM
02-09-2005 06:16 AM
Re: Reverse DNS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 06:23 AM
02-09-2005 06:23 AM
Solutionanyhow, indeed the reason most apps will do the reverse lookup is to have nice names for logs, or to check against names - eg .rhosts files or stuff in inetd.sec or tcpwrappers etc etc. some allow it to be disabled, others do not
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 09:17 AM
02-09-2005 09:17 AM
Re: Reverse DNS?
a)
- increase the timeout for telnet
- change inetd_options from "-l" to ""
- disable hostname lookups in webserver config (in apache this is definitely possible)
b)
- lower the timeouts for the local nameserver
see my posting here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=809283
for You this would be something like
/etc/resolv.conf containing
domain internal.our.net
nameserver internal_ip
nameserver ext_1
nameserver ext_2
search some.thi.ng thi.ng
retry 2
retrans 1000
this would cause hp-ux to fail over to the
external dns servers after two seconds if the internal doesn't really work.
[c)
- wish for a better internet where everybody reads the RFCs and implements his networks that way.]