0% found this document useful (0 votes)
600 views2 pages

(DNSMASQ) Speed Up Name Resolution

Dnsmasq is a lightweight DNS and DHCP server that caches DNS requests to speed up internet access. It is easy to install by running yum install dnsmasq, and configure by editing configuration files to listen on 127.0.0.1 and add this as the nameserver. Restarting the dnsmasq and dhcpd services enables the caching and results in much faster DNS query times.

Uploaded by

mson77
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
600 views2 pages

(DNSMASQ) Speed Up Name Resolution

Dnsmasq is a lightweight DNS and DHCP server that caches DNS requests to speed up internet access. It is easy to install by running yum install dnsmasq, and configure by editing configuration files to listen on 127.0.0.1 and add this as the nameserver. Restarting the dnsmasq and dhcpd services enables the caching and results in much faster DNS query times.

Uploaded by

mson77
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Hello!

Today I will talk about "dnsmasq".


This is a little linux package used to cache dns
requests.
It will speed up internet access a lot.
And it is very easy to install and use.

To install:
==> yum install dnsmasq <enter>

To configure:
1) edit /etc/dnsmasq.conf (configure 127.0.0.1 as
listen-address)

(was) ==> #listen-address =


(should be) ==> listen-address = 127.0.0.1

2) edit /etc/dhcpd.conf (configure 127.0.0.1 as


clients domain-name-servers)

(was) ==> #prepend domain-name-servers 127.0.0.1;


(should be) ==> prepend domain-name-servers
127.0.0.1;

3) edit /etc/resolv.conf (and add the line below after


"search xxx" line)

nameserver 127.0.0.1

To start using:
1) start dnsmasq service

service dnsmasq start

2) restart dhcpd service

service dhcpd restart

To test:
1) dig scribd.com

==> query time: 199ms


2) dig scribd.com

==> query time: 0ms

That´s all.

mson77

If this helps you and if you want to gift me... maybe


you can browse my wish list at:
http://www.livrariacultura.com
.br/scripts/home/wishlist/basketwish.asp?cp=DJDGID

You might also like