- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DNS Not resolving internal
Operating System - HP-UX
1752604
Members
4209
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-03-2002 01:15 AM
тАО07-03-2002 01:15 AM
DNS Not resolving internal
This is a /etc/nsswitch.conf file
hosts: dns files
protocols: files[NOTFOUND=return UNAVAIL=continue]
services: files
[NOTFOUND=return UNAVAIL=continue]
networks: files[NOTFOUND=return UNAVAIL=continue]
netgroup: files[NOTFOUND=return UNAVAIL=continue]
rpc: files[NOTFOUND=return UNAVAIL=continue]
This is my /etc/resolv.conf file
domain ect.com
nameserver 172.23.123.1 # mail
What could be wrong ?
hosts: dns files
protocols: files[NOTFOUND=return UNAVAIL=continue]
services: files
[NOTFOUND=return UNAVAIL=continue]
networks: files[NOTFOUND=return UNAVAIL=continue]
netgroup: files[NOTFOUND=return UNAVAIL=continue]
rpc: files[NOTFOUND=return UNAVAIL=continue]
This is my /etc/resolv.conf file
domain ect.com
nameserver 172.23.123.1 # mail
What could be wrong ?
If anyone is in Christ , he is a new creature the Old has gone , The new has come
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 01:25 AM
тАО07-03-2002 01:25 AM
Re: DNS Not resolving internal
Hi
nsswitch hosts line . use
hosts : dns [NOTFOUND=continue] files
resolv.conf
try adding search line
search localdomain remotedomain
Steve Steel
nsswitch hosts line . use
hosts : dns [NOTFOUND=continue] files
resolv.conf
try adding search line
search localdomain remotedomain
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 02:08 AM
тАО07-03-2002 02:08 AM
Re: DNS Not resolving internal
Hi,
Why dont you change the hosts entry to first check for hosts file and then the DNS server ?
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns
Hope tjis helps.
-Sukant
Why dont you change the hosts entry to first check for hosts file and then the DNS server ?
hosts: files[NOTFOUND=continue UNAVAIL=continue] dns
Hope tjis helps.
-Sukant
Who dares he wins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 02:39 AM
тАО07-03-2002 02:39 AM
Re: DNS Not resolving internal
Hi
I think Steve has got it with your /etc/resolv.conf entry. It should be something like
search ect.com
nameserver 172.23.123.1 # mail
And, the recommended way for your /etc/nsswitch.conf is to attempt to resolve locally first before contacting dns
hosts: files [NOTFOUND=continue] dns
If your hosts are added to the /etc/hosts this will speed up resolution as dns will not have to be contacted
HTH
Steve
I think Steve has got it with your /etc/resolv.conf entry. It should be something like
search ect.com
nameserver 172.23.123.1 # mail
And, the recommended way for your /etc/nsswitch.conf is to attempt to resolve locally first before contacting dns
hosts: files [NOTFOUND=continue] dns
If your hosts are added to the /etc/hosts this will speed up resolution as dns will not have to be contacted
HTH
Steve
take your time and think things through
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP