- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuring resolv.conf
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
05-04-2004 02:48 AM
05-04-2004 02:48 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 02:51 AM
05-04-2004 02:51 AM
SolutionYou can list several DNS servers, as you say, on multiple lines.
You don't need to restart anything, this is unix :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 02:56 AM
05-04-2004 02:56 AM
Re: Configuring resolv.conf
1.pay attantion, as mark says this is your domain name!!
2. yes, you have to list multiple DNS server
3. try if the conf is correct with the command
nslookup
and check if dns resolves.
Regds
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 02:58 AM
05-04-2004 02:58 AM
Re: Configuring resolv.conf
Try this link from hp doc site.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/28-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/28-toc.html&searchterms=resolv.conf&queryid=20040504-085740
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 02:59 AM
05-04-2004 02:59 AM
Re: Configuring resolv.conf
If your windows servers are your primary and secondary DNS servers, then yes you will need to change the nameserver entries to point to the new IP's
The domain line, is the actual domain you are part of, it should not be the HP server name. Everything after the hostname.
For example
dog.myhouse.com
resolv.conf might look like:
domain myhouse.com
nameserver 10.1.10.100
nameserver 10.1.10.101
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 03:05 AM
05-04-2004 03:05 AM
Re: Configuring resolv.conf
search bedrock.com slate.construction.com
The nameservers would be listed as:
nameserver 12.34.56.78 # optional comments
nameserver 12.34.56.79 # optional comments
You can have a domain or a search line, but not both. You might consider using sam to set this up, especially if you don't like using vi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 03:16 AM
05-04-2004 03:16 AM
Re: Configuring resolv.conf
domain wsc.edu
nameserver 10.10.22.2
nameserver 10.10.56.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 06:58 AM
05-04-2004 06:58 AM
Re: Configuring resolv.conf
#sig_named restart
Do man on this command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 07:10 AM
05-04-2004 07:10 AM
Re: Configuring resolv.conf
/etc/resolv.conf changes does not need a named restart. In fact you need to have named running to use resolv.conf.
Any changes to resolv.conf on hp-ux are immediate.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 03:15 PM
09-21-2004 03:15 PM
Re: Configuring resolv.conf
I do try to add multiple "namesever" in the resolv.conf, but after experiment, I find out it only look the first nameserver , then if nothing found, it just return no DNS information without continue search out the next DNS nameserver ( which I add the entry already ), any idea?
Gordon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2004 03:56 PM
09-21-2004 03:56 PM
Re: Configuring resolv.conf
domain wsc.edu
2> We have to use nameserver one by one as,
nameserver 10.10.22.2
nameserver 10.10.56.2
And we can use upto 3 name server there.
3> Did you set /etc/nsswitch.conf file hosts: entry as,
hosts: dns files
so that it will try to resolve as dns ( /etc/resolv.conf ) and /etc/hosts file.
And what is saying for,
nsquery hosts