- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- resolv.conf and dhcp
Operating System - HP-UX
1823472
Members
2322
Online
109660
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
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
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
тАО12-17-2002 07:52 PM
тАО12-17-2002 07:52 PM
resolv.conf and dhcp
My hpux11 machine at home is connected to the internet via dhcp. Whenever the machine reboots it rewrites the /etc/resolv.conf file.
Is there anyway to prevent the resolv.conf file from being rewritten?
Is there anyway to prevent the resolv.conf file from being rewritten?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2002 07:58 PM
тАО12-17-2002 07:58 PM
Re: resolv.conf and dhcp
What is changing in it when it is rewritten?
I would check through the startup scripts in /sbin/init.d and see if there is one there that is doing anything to the resolv.conf file.
I would check through the startup scripts in /sbin/init.d and see if there is one there that is doing anything to the resolv.conf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2002 08:18 PM
тАО12-17-2002 08:18 PM
Re: resolv.conf and dhcp
This can also happen when you are requesting dhcp for a ipaddress and that network ip defaults to a specified DNS server on that network.
For example your server is receiving a dhcp address as
172.16.3.45 and the dns on this particular network is somewhat like 172.16.1.21 then this could be the result.
I would suggest checking the dhcp server whether it is pointing out to a particular dns
For example your server is receiving a dhcp address as
172.16.3.45 and the dns on this particular network is somewhat like 172.16.1.21 then this could be the result.
I would suggest checking the dhcp server whether it is pointing out to a particular dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2002 08:27 PM
тАО12-17-2002 08:27 PM
Re: resolv.conf and dhcp
This is the feature of DHCP client. The resolv.conf is overwritten when the machine is booting. This is a dynamic file in DHCP client and picksup the nameserver information from the DHCP server and updates its resolv.conf entry.
I only way to prevent this overwritting is write a rc script which runs in the end and copies your own resolv.vonf to /etc/resolv.conf
Rajeev
I only way to prevent this overwritting is write a rc script which runs in the end and copies your own resolv.vonf to /etc/resolv.conf
Rajeev
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP