Re: nscd and DNS cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/16/2012 01:29 AM, Ed Greshko wrote:
On 05/16/2012 02:54 PM, JD wrote:
I understand the libs are what make calls to the resolver. But even
the resolver must look
at /etc/resolv.conf.
Well, you did say:  "Am I to believe that the browser is NOT using /etc/resolv.conf"
which to me reads that you were thinking that somehow the browser itself should be
using resolv.conf.  I'm sorry if I misread what you wrote.

If it is empty, NOTHING gets resolved.
Not "entirely" true.

With named not running.....

[egreshko@f16-1 ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
#search greshko.com
#nameserver 192.168.0.55

[egreshko@f16-1 ~]$ ping misty
PING misty (192.168.0.55) 56(84) bytes of data.
64 bytes from misty (192.168.0.55): icmp_req=1 ttl=64 time=1.99 ms

since /etc/nsswitch.conf contains

hosts:      files dns

and /etc/hosts contains

192.168.0.55 misty

if you take the "files" out of the hosts line....then NOTHING gets resolved.

I was using nscd thinking it is a lightweight caching resolver. But as
it turns out it is useless.
Time for fedora to bury it :)
Re: My router: it does very little if any caching - and has no
configuration for it at all.

I will try bind.
I've not used it....but have heard good things about dnsmasq which, according to yum
info, is A lightweight DHCP/caching DNS server.


ps -ef | grep dnsmasq
nobody 2344 1 0 May14 ? 00:00:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=253 --dhcp-no-override

where is dnsmask starter script? I looked in /lib/systemd/system and do not find these arguments there nor in the env file listed in the start systemd start script. Also checked /etc/systemd/system Nothing there that betrays these args, Seems that it is started by some other service?? Like vboxnet?


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux