Article 57WQR WIFI and local DNS

WIFI and local DNS

by
gsurfdude
from LinuxQuestions.org on (#57WQR)
Hello all,

I am fairly experienced with linux administration but I am stumped on this one. I have a CENTOS host with a another CENTOS vm guest. The guest is configured to be my only dns server. It's ip is 192.168.1.108. My laptop which runs fedora 32 and is wireless. Do I need to edit all the wifi connections I have for my home? I have 4. 1 is the 5g, 2. is the 2.4, 3. is a range extender and 4. is DD-WRT set up as a repeater. When I configured the wifi using the 5g for example, my /etc/resolv.conf looks like this

search home.com
nameserver 192.168.1.108
nameserver 8.8.8.8
nameserver 8.8.4.4

But this does not connect me to the Internet using firefox. And, if I ping the name server "centos-dns" the ping returns google ip address rather 192.168.1.108

And while on the fedora laptop I run nslookup 'fedora-ws' (no quotes) it doesn't return the correct PTR records.

All my hard wired machines resolve with the DNS - I have 3 physical machines with each one running 1 vm centos guest machines (database server, web server and subversion). I ssh to any one of these and ping another centos machine, it returns ,my FQDM. But not from the wifi laptop.

What do I need to set up so that wifi uses the local internal dns? I currently set all the host names/ip addresses in /etc/hosts

I hope this make sense.

Gsurflatest?d=yIl2AUoC8zA latest?i=mU45IqqFvcU:kAeIHW91b7M:F7zBnMy latest?i=mU45IqqFvcU:kAeIHW91b7M:V_sGLiP latest?d=qj6IDK7rITs latest?i=mU45IqqFvcU:kAeIHW91b7M:gIN9vFwmU45IqqFvcU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments