Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

/etc/resolv.conf has been modified automatically

JhilNov 29 2019 — edited Dec 6 2019

Dear Experts,

I configured 2 node RAC on my personal machine.

Vmware Machine 1 : NODE1

Vmware Machine 2 : NODE2

Vmware Machine 3 :  DNS SERVER ( For testing purpose i configured long back, mostly i do not use this machine).

Today early morning i stared my DNS machine after that

When i checked my Vmware Machine 1, some changes noticed (following below):

[root@rac-p111 ~]# cat /etc/resolv.conf

# Generated by NetworkManager

# No nameservers found; try putting DNS servers into your

# ifcfg files in /etc/sysconfig/network-scripts like so:

#

# DNS1=xxx.xxx.xxx.xxx

# DNS2=xxx.xxx.xxx.xxx

# DOMAIN=lab.foo.com bar.foo.com

After shutdown DNS Server (I started VMware Machine 2 i.e NODE 2  (but i see old contents are there )

[root@rac-p112 ~]# cat /etc/resolv.conf

# Generated by NetworkManager

domain localdomain

search localdomain

nameserver 192.168.226.2

#############################

###### NOTICE ###############

#############################

# https://www.cyberciti.biz/faq/dhclient-etcresolvconf-hooks/

# chattr +i /etc/resolv.conf

# chattr -i /etc/resolv.conf

--------------------------------------------------------------------------------------------------------------------------------------------------------------

Does DNS play vital role for Internet connection issues ?

FYI  :  I have executed below command on NODE1

# chattr -i /etc/resolv.conf

Thanks

Comments
Post Details
Added on Nov 29 2019
3 comments
4,901 views