Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
Re: [opensuse] optimizing resolv.conf
Le 01/01/2014 14:35, Carlos E. R. a écrit :

Dnsmasq is now installed by default, just use it.

In "/etc/dnsmasq.conf" tell dnsmasq to ask the router or isp or whatever.

server=192.168.1.1

seems to be not even necessary

I didn't know about dnsmasq (or really didn't have had time to t'est it yet), and decided to follow your advice.

I found the /etc/dnsmasq.conf file filed with comments and probably no other things and decided not to touch it in the beginning

go to yast and set 127.0.0.1 as dns

as a result yast wrote in resolv.conf *two* IP as dns, 127.0.0.1, but also my routers one (192.68.0.254, the one returned by dhcp). See below the systemctl status.

browsing seems faster, but may it's only an impression :-(

thanks
jdd

systemctl status dnsmasq.service -l
dnsmasq.service - DNS caching server.
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-insserv.conf-$named.conf
Active: active (running) since mer. 2014-01-01 16:37:43 CET; 4min 42s ago
Process: 3340 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
Main PID: 3352 (dnsmasq)
CGroup: /system.slice/dnsmasq.service
└─3352 /usr/sbin/dnsmasq --log-async --enable-dbus --keep-in-foreground


janv. 01 16:37:43 linux-zckr dnsmasq[3340]: dnsmasq: syntax check OK.
janv. 01 16:37:43 linux-zckr systemd[1]: Started DNS caching server..
janv. 01 16:37:43 linux-zckr dnsmasq[3352]: started, version 2.65 cachesize 2000
janv. 01 16:37:43 linux-zckr dnsmasq[3352]: compile time options: IPv6 GNU-getopt no-DBus i18n IDN DHCP DHCPv6 no-Lua TFTP no-conntrack
janv. 01 16:37:43 linux-zckr dnsmasq[3352]: DBus support enabled: connected to system bus
janv. 01 16:37:43 linux-zckr dnsmasq[3352]: asynchronous logging enabled, queue limit is 5 messages
janv. 01 16:37:43 linux-zckr dnsmasq[3352]: reading /etc/resolv.conf
janv. 01 16:37:43 linux-zckr dnsmasq[3352]: using nameserver 192.168.0.254#53
janv. 01 16:37:43 linux-zckr dnsmasq[3352]: ignoring nameserver 127.0.0.1 - local interface
janv. 01 16:37:43 linux-zckr dnsmasq[3352]: read /etc/hosts - 7 addresses



--
http://www.dodin.org
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups