Sponsored Content
Top Forums UNIX for Dummies Questions & Answers DNS server - /etc/resolv.conf file issue Post 302804329 by raosr020 on Wednesday 8th of May 2013 11:58:43 AM
Old 05-08-2013
Lightbulb DNS server - /etc/resolv.conf file issue

Hi,

Am trying to configure DNS server and trying to keep the information in /etc/resolv.conf file as:

Code:
search server
nameserver 192.168.0.10

when i restart the network service with #service network restart, resolv.conf file is changing as:

Code:
nameserver 192.168.0.10

search server - info is getting removed.

This is keep on happening.

OS: RHEL6

Please help me with this issue. Your help is much appreciated.

Thank you,
SREE
 

10 More Discussions You Might Find Interesting

1. IP Networking

/etc/resolv.conf

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)
Discussion started by: rpnhavoc
1 Replies

2. UNIX for Dummies Questions & Answers

dns and resolv.conf

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)
Discussion started by: b03der
10 Replies

3. IP Networking

overriding /etc/resolv.conf with .nslookuprc file

Hi, I have come across a fact that /etc/resolv.conf can be overrided by using ~/.nslookuprc. Is this completely true...i.e can I completely override /etc/resolv.conf. If so, can I have a list of my own domainnames & Nameservers in ~/.nslookuprc that can override those in resolv.conf. ... (3 Replies)
Discussion started by: smanu
3 Replies

4. Shell Programming and Scripting

resolv.conf

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)
Discussion started by: aliahsan81
8 Replies

5. UNIX for Dummies Questions & Answers

resolv.conf

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)
Discussion started by: Ex-Capsa
3 Replies

6. AIX

resolv.conf and DNS configration

Guys, I have enabled the resolv.conf to be configured with our DNS Network and it's configured when I ping any hostname in my Network from the server it's giving me the hostname of that machine (witch mean it's working fine ) but I‘m facing slowness in my connection when I rename... (13 Replies)
Discussion started by: ITHelper
13 Replies

7. Shell Programming and Scripting

Loop through hosts file - cat /etc/resolv.conf

Hello... I am trying to loop through my hosts file that contains 100+ servers to check or update the nameservers on them... My while loop is breaking after the first server responds... #!/bin/bash while read line; do a=( $(echo $line | tr " " "\n") ) if }" != "" ] && }" != "#" ] &&... (1 Reply)
Discussion started by: CompSCI
1 Replies

8. Red Hat

Issue on resolv.conf

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)
Discussion started by: Pradipta Kumar
3 Replies

9. Ubuntu

Adding Domain name n resolv.conf file without vi editor

Hi Guys, I want to add the domain name entry to resolv.conf file. when i use the vi editor to do it the changes are gone after DNS client is being restarted. In Solairs 11 I figured out svccfg command will help to retain the cinfguration. but in linux how do we do that. Also for Solaris are there... (2 Replies)
Discussion started by: karthikk0508
2 Replies

10. Solaris

Configure resolv.conf and nsswitch.conf

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
RDNSSD(8)						      System Manager's Manual							 RDNSSD(8)

NAME
rdnssd - IPv6 Recursive DNS Server discovery Daemon SYNOPSIS
rdnssd [-f] [-H merge-hook] [-r resolv-file] [-p pidfile] [-u username] DESCRIPTON
rdnssd is a daemon program providing client-side support for DNS configuration using the Recursive DNS Server (RDNSS) option, as described in RFC 5006. Its purpose is to supply IPv6 DNS resolvers through stateless autoconfiguration, carried by Router Advertisements. rdnssd parses RDNSS options and keeps track of resolvers to write nameservers entries to a resolv.conf(5) configuration file. By default, it writes its own separate file, and may call an external hook to merge it with the main /etc/resolv.conf. This is aimed at easing coexis- tence with concurrent daemons, especially IPv4 ones, updating /etc/resolv.conf too. On Linux, since version 2.6.24, rdnssd takes advantage of a new netlink interface, forwarding RDNSS options validated by the kernel to userland. Otherwise, it merely listens to all ICMPv6 traffic through a raw socket. OPTIONS
-f or --foreground Do not detach from the console. Run the program in the foreground. -H merge-hook or --merge-hook merge-hook Execute this hook whenever resolv.conf is updated. If this option is not specified, then no hook will be called. -h or --help Display some help and exit. -p pidfile or --pidfile pidfile Override the location of the pidfile. -r resolv-file or --resolv-file resolv-file Set the path to the generated resolv.conf file. -u username or --user username Override the user that the program will run as. By default, it runs as nobody. -V or --version Display program version and license and exit. FILES
/etc/rdnssd/merge-hook A basic merge hook shipped with rdnssd, to be called with the -H option. /var/run/rdnssd/resolv.conf The default resolv.conf(5) file that rdnssd writes its configuration to. /var/run/rdnssd.pid The process-id file. BUGS
rdnssd does not keep track of the lifetimes of the routers associated with some DNS resolvers, whereas it should to strictly comply with RFC 5006. When rdnssd uses a raw socket instead of the netlink kernel interface, it does not validate received Neighbor Discovery traffic in any way. For example, it will always consider Router Advertisement packets, whereas it should not if the host is configured as a router. When the netlink interface is used, such validation is done by the kernel. SEE ALSO
resolv.conf(5), rdisc6(8), ipv6(7) AUTHOR
Pierre Ynard <linkfanel at yahoo.fr> $Id: rdnssd.8-in 575 2007-12-29 21:55:43Z linkfanel $ http://www.remlab.net/ndisc6/ rdnssd $Date: 2007-12-29 23:55:43 +0200 (Sat, 29 Dec 2007) $ RDNSSD(8)
All times are GMT -4. The time now is 04:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy