HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/resolv.conf file
Operating System - HP-UX
1836462
Members
2054
Online
110101
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
03-14-2001 01:41 PM
03-14-2001 01:41 PM
I have a machine that isn't hooked up to our regular network. It is a stand alone server that has two pc connected to it. I't takes 5 minutes to connect to the server from one of the pc. What should my /etc/resolv.conf file look like.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2001 01:54 PM
03-14-2001 01:54 PM
Solution
I assume that you mean by stand alone that it is not on the network, if you are not using DNS lookup for addresses resolution (just using the /etc/hosts file) then you should not have a resolv.conf and you /etc/nsswitch.conf file should have a line in it like this...
hosts: files
This line should not have mention of DNS or nis in it (unless you are using them)
If you are using DNS for resolution, then your resolv.conf should list the nameservers you use for dns and should look something like this...
domain mydomain.com
nameserver 23.54.23.23 (or whatever your DNS server's ip address is)
nameserver 23.54.23.22
etc...
hope this helps.
hosts: files
This line should not have mention of DNS or nis in it (unless you are using them)
If you are using DNS for resolution, then your resolv.conf should list the nameservers you use for dns and should look something like this...
domain mydomain.com
nameserver 23.54.23.23 (or whatever your DNS server's ip address is)
nameserver 23.54.23.22
etc...
hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2001 10:44 PM
03-14-2001 10:44 PM
Re: /etc/resolv.conf file
when you connect to the machine it will try and get the name from the IP address, this is why it is so slow. even if your name servers are set right (if you are using dns and not hosts files) this will still not work properly unless the reverse zone is set up on your name server, but for a small network it is easier to use the hosts files
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP