I am new to unix. I have edited the /etc/resolv.conf. It shows
domain name
ip address
ip address
These are the same ips of the dns I use for windows. Still I get no name resolution on the internet. I can ping external ip's is there anything else I need to check? (1 Reply)
Hi ,,still struggling with unix ,,the system is running sco openserver release 5 and have dsl installed ,, the dsl modem is a bt router which in turn is connected to a vpn hardware router,, which also serves internet to the whole network ,, but i still cant connect to the internet via the unix box... (10 Replies)
I want to have 7 search domains in my resolv.conf, but it seems to like only the first six.
I read somewhere that the OS will only recognize the first 6 (or the first 154 characters). Is that the case with SUSE 10?
thx
-Kevin (2 Replies)
HI ALL
I am making a script,That will does the following,I am in search of ideas
1.Script will comment all existing the entries in resolve.conf
2.Add new entries like this
abc.example.com
192.168.1.x
I can use sed to add comment. (8 Replies)
Hi everyone
A quick question during a audit this was determined to be a security issue
In the resolv.conf there is a “.” At the end of the domain name
Like this
domain mydomain.com.
I which to understand the function or significance of the .
thk (3 Replies)
Hi,
My resolv.conf keeps overwritten. I want to have it to just keep the setting that I put in there. I tried a few solutions I found using google.
like supersede domain-name "xxx", prepend domain-name-servers xxx.xxx.xxx.xxx;
This does'nt work.
I also tried to just chmod the file to... (4 Replies)
Hi all, :(
I am facing issue while I have updated in resolv.conf, after nework service restart, it was automatically deleted IP from resolv.conf file.
Could you please let me know what is the reason resolv.conf deleted any IP which I have manually updated, but it store only my router IP... (3 Replies)
Hi All!
I am using Ubuntu 12.04 with LXDE. This is office's allocated laptop.
I have a problem here now, my /etc/resolv.conf file is not getting updated automatically whenever I am switching network, i.e. home or office. I have to do it manually every-time, I manually input the office's DNS,... (3 Replies)
Once again, almost the same problem, not really solved. I need a hint for network configuration on bsd 10.1.
In the GUI for the network network manager I set two different DNS addresses. As well as the user@domain,com at hostname, broadcast is on 255.255.255.0
After restarting the machine trying... (0 Replies)
Hi,
I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf.
I used below to configure both settings:
# svccfg -s dns/client
svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies
LEARN ABOUT NETBSD
dhcpcd-run-hooks
DHCPCD-RUN-HOOKS(8) BSD System Manager's Manual DHCPCD-RUN-HOOKS(8)NAME
dhcpcd-run-hooks -- DHCP client configuration script
DESCRIPTION
dhcpcd-run-hooks is used by dhcpcd(8) to run any system and user defined hook scripts. System hook scripts are found in
/libexec/dhcpcd-hooks and the user defined hooks are /etc/dhcpcd.enter-hook. and /etc/dhcpcd.exit-hook. The default install supplies hook
scripts for configuring /etc/resolv.conf and the hostname. Your distribution may have included other hook scripts to say configure ntp or
ypbind. A test hook is also supplied that simply echos the dhcp variables to the console from DISCOVER message.
Each time dhcpcd-run-hooks is invoked, $interface is set to the interface that dhcpcd is run on and $reason is to the reason why
dhcpcd-run-hooks was invoked. DHCP information to be configured is held in variables starting with the word new_ and old DHCP information to
be removed is held in variables starting with the word old_. dhcpcd can display the full list of variables it knows how about by using the
-V, --variables argument.
Here's a list of reasons why dhcpcd-run-hooks could be invoked:
PREINIT dhcpcd is starting up and any pre-initialisation should be done.
CARRIER dhcpcd has detected the carrier is up. This is generally just a notification and no action need be taken.
INFORM dhcpcd informed a DHCP server about it's address and obtained other configuration details.
BOUND dhcpcd obtained a new lease from a DHCP server.
RENEW dhcpcd renewed it's lease.
REBIND dhcpcd has rebound to a new DHCP server.
REBOOT dhcpcd successfully requested a lease from a DHCP server.
IPV4LL dhcpcd failed to contact any DHCP servers but did obtain an IPV4LL address.
STATIC dhcpcd has been configured with a static configuration which has not been obtained from a DHCP server.
3RDPARTY dhcpcd is monitoring the interface for a 3rd party to give it an IP address.
TIMEOUT dhcpcd failed to contact any DHCP servers but was able to use an old lease.
EXPIRE dhcpcd's lease or state expired and it failed to obtain a new one.
RELEASE dhcpcd's lease was released back to the DHCP server for re-use.
NAK dhcpcd received a NAK from the DHCP server. This should be treated as EXPIRE.
NOCARRIER dhcpcd lost the carrier. The cable may have been unplugged or association to the wireless point lost.
FAIL dhcpcd failed to operate on the interface. This normally happens when dhcpcd does not support the raw interface, which means
it cannot work as a DHCP or ZeroConf client. Static configuration and DHCP INFORM is still allowed.
STOP dhcpcd stopped running on the interface.
DUMP dhcpcd has been asked to dump the last lease for the interface.
TEST dhcpcd received an OFFER from a DHCP server but will not configure the interface. This is primarily used to test the variables
are filled correctly for the script to process them.
ROUTERADVERT dhcpcd has received an IPv6 Router Advertisment, or one has expired.
FILES
When dhcpcd-run-hooks runs, it loads /etc/dhcpcd.enter-hook and any scripts found in /libexec/dhcpcd-hooks in a lexical order and then
finally /etc/dhcpcd.exit-hook
SEE ALSO dhcpcd(8)AUTHORS
Roy Marples <roy@marples.name>
BUGS
Please report them to
http://roy.marples.name/projects/dhcpcd
SECURITY CONSIDERATIONS
Little validation of DHCP options is done in dhcpcd itself. Instead, it is up to the hooks to handle any validation needed. To this end,
some helper functions are provided, such as valid_domainname as used by the 20-resolv.conf hook to ensure that the hostname is not set to an
invalid value. valid_path is also provided, but is currently unused by a stock hook script.
BSD March 19, 2012 BSD