- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DNS Client problems
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
11-30-2000 11:53 AM
11-30-2000 11:53 AM
1) I could not send mail to the outside world, but I think that is on the mail server side.
and 2) my system seemed to lock up, every telnet in required up to a minute to connect and SAM would not opperate until I removed the /etc/resolv.conf file.
Can anyone help? This is my first time trying to set up any DNS even as a client.
Thanks
Dave
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2000 12:09 PM
11-30-2000 12:09 PM
Re: DNS Client problems
You will have to create on top of /etc/resolv.conf a /etc/nsswitch.conf file to bypass in case of non resolution of name or address.
here is an example of nsswitch.conf file:
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd: files
group: files
hosts: files [NOTFOUND=CONTINUE] dns
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
Good luck
Cheers
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2000 12:18 PM
11-30-2000 12:18 PM
Re: DNS Client problems
It looks like a permission problem (due to a umaks?): Be sure /etc/resolv.conf is read for everyone otherwise only root can telnet or ftp your machine... ( best would be to set ownership=bin:bin and chmod 444 )
Best regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2000 12:25 PM
11-30-2000 12:25 PM
Re: DNS Client problems
There is a line (around +105...) that starts by:
#DSbbm.something
uncomment it and put the name of your mail server:
DS.mymail.mydomain
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2000 12:35 PM
11-30-2000 12:35 PM
Re: DNS Client problems
How would these settings cause SAM to hang?
I also forgot to mention that I could not log in throught ny X-window emulator until I removed /etc/resolv.conf,
Does any of this make sense?
Thanks, and I will let you know what I find from your responses.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2000 01:47 PM
11-30-2000 01:47 PM
Re: DNS Client problems
Example
domain hp.com
nameserver 10.22.34.1
and your /etc/nsswitch.conf to go to DNS for name resolution.
I attached a document that may help.
Berlene
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2000 06:38 AM
12-01-2000 06:38 AM
Re: DNS Client problems
r-x------ root root resolv.conf
Straight after my phone went bezerk with people complaining about not being able to ftp, I didnt see anything at that time, next day it was telnet also... And I coulnd find what was wrong as I was root..., until I asked someon his account and passwd and tried and realized...
It can come from umask because your are on a trusted machine or sutomized in such way that what root modifies is read only by root...
So the best is bin:bin r--r--r--
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 01:36 PM
12-11-2000 01:36 PM
Re: DNS Client problems
Thanks for the help so far, I got the mail working, but it had a side effect.
I set up the /etc/resolv.conf, /etc/nsswitch.conf, and /etc/mail/sendmail.cf as described. including the Chown to bin:bin. but if I do that all my telnet sessions have a delay of up to 5 minutes before they get a login prompt.
is there something else I am missing?
My X emulator works ok now, the mail passes to the world, but this one thing keeps getting in the way, and this is my production box. (Users don't like to wait)
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2000 03:00 PM
12-11-2000 03:00 PM
Solutionwhat has to be done is:
1. Check to make sure that your DNS records have reverse entries (ie. given the IP address/get the hostname and given the hostname get the IP address)
2. to test, insert the IP address of a known host in the /etc/hosts file and try connecting to it from that machine and time it.
3. the "hosts" line in your /etc/resolv.conf should be:
hosts: files [NOTFOUND=continue] dns
note that the keyword continue is in lower case.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2000 05:37 AM
12-12-2000 05:37 AM
Re: DNS Client problems
Thanks for all the great help.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2000 05:44 AM
12-12-2000 05:44 AM
Re: DNS Client problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2000 06:20 AM
12-12-2000 06:20 AM
Re: DNS Client problems
Thanks Again
Dave