[CentOS] Dnsmasq and /etc/hosts
Leon Fauster
leonfauster at googlemail.comThu Nov 24 11:24:45 UTC 2016
- Previous message: [CentOS] Dnsmasq and /etc/hosts
- Next message: [CentOS] Headless Centos 7 "File and Print Server" install - configure WIFI
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am 24.11.2016 um 10:50 schrieb Nicolas Kovacs <info at microlinux.fr>: > Le 24/11/2016 à 10:22, Yamaban a écrit : >> Hmmm, looks like the "lookup question" from amandine(server) is not >> resolved in the same way it is resoved from bernadette or raymonde >> (clients). > > After some more fiddling, I guess I found a solution to my problem. If > we formulate the problem differently, we can say that the clients use > the information provided by Dnsmasq, but the server does not. So in > order to make the server use that information, here's how I changed the > configuration. > > First, point /etc/resolv.conf to the server itself: > > # /etc/resolv.conf > nameserver 127.0.0.1 > > Next, get rid of the 'no-resolv' option in '/etc/dnsmasq.conf': > you can put your upstreams dns servers instead separated and add resolv-file=/etc/resolv.upstream to dnsmasq conf. -- LF
- Previous message: [CentOS] Dnsmasq and /etc/hosts
- Next message: [CentOS] Headless Centos 7 "File and Print Server" install - configure WIFI
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list