[CentOS] dnsmasq centos 7

Sat Oct 31 14:14:39 UTC 2020
Jerry Geis <jerry.geis at gmail.com>

Hi Niki,

Thanks good article... I was close in what  I did - but still not working.


I made this config file in /etc/dnsmasq.d

 more lsi.conf
domain-needed
bogus-priv
interface = eth0
expand-hosts
local = / LayeredSolutionsInc.com /
domain = LayeredSolutionsInc.com

# The address 192.168.1.14 is the static IP of this server
# You can find this ip by running ifconfig and look for the
# IP of the interface which is connected to the router.
listen-address=127.0.0.1
listen-address=192.168.1.14
bind-interfaces

# Use open source DNS servers
server=8.8.8.8

# Create custom 'domains'.
# Custom 'domains' can also be added in /etc/hosts
address=/LayeredSolutionsInc.com/192.168.1.14


I restart dnsmasq of course... The resolution works on the same
machine - but not for any other linux box.

I add the nameserver 192.168.1.14 to the /etc/resolv.conf of that
machine - but resolution does not work.

Thoughts? (note I moved from my original 192.168.1.8 to 192.168.1.14
machine) - same issue resolves locally but not for other machines.

Jerry