1833712 Members
2173 Online
110063 Solutions
New Discussion

Re: dns problem

 
bassey essien_1
Frequent Contributor

dns problem

my server is offline after reboot, iam having a connectivity problem, server cannot be reached from my terminal, there are no entries in the /etc/rc.config.d/netconf file,i ran nslookup command and came up with no server
found. But the ip address is specified from traceroute tool.
my question is, do i have to disable dns server or rename it, what are the steps to accomplish this. operating platform is hpux 9000/829 class.
thanks.
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: dns problem

Bassey:

You need to make the appropriate declarations in /etc/rc.config.d/netconf in order to be able to start networking.

Fill in the HOSTNAME, INTERFACE_NAME (e.g. "lan0"), an IP_ADDRESS and ROUTE_GATEWAY.

...JRF...
CHRIS_ANORUO
Honored Contributor

Re: dns problem

Rename this file and do a selective restore of the old netconf file from a previous backup. The file content must have been deleted.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Kenneth Platz
Esteemed Contributor

Re: dns problem

Bassey,

Given that the "netconf" file is generally pretty straightforward, the easiest thing to do is as James said, and just reenter the appropriate networking information, namely the hostname, IP address, subnet mask, and default routes.

I would, however, strongly caution AGAINST making any copies of the netconf file in the /etc/rc.config.d directory for one very good reason. When the system boots up, it sources every file in that directory in lexicographic order -- ie, if you have a netconf and netconf.bak file, then the contents of your neconf.bak file will override any settings from the netconf file.

I think, therefore I am... I think!
James R. Ferguson
Acclaimed Contributor

Re: dns problem

Hi!

A clarification. Files in the /etc/rc.config.d/ directory that contain the extensions [.,~#] are NOT sourced and are perfectly safe copies for backup.

...JRF...