What is Dnsmasq? (Domain Name System (DNS) Transfer)


What is Dnsmasq?

DNSmasq is a handy little tool for configuring DNS and DHCP for small networks. It provides DNS functionality and optional DHCP functionality. It serves domain names that are only applicable locally and will not appear in DNS servers around the world. The DHCP server is combined with the DNS server and allows addresses assigned by DHCP to be correctly resolved in DNS. These DHCP assigned addresses and associated commands can be configured for each host or for a primary device (such as a router). Dnsmasq supports static and dynamic DHCP configuration.

Dnsmasq’s DHCP server supports BOOTP (Bootstrapping Protocol) / TFTP (Trivial File Transfer Protocol) / PXE (Pre-boot Execution Environment) to boot diskless network devices.

DNSmasq is mainly used in home networks for NAT. It is connected to the Internet with modems, cable modems and ADSL devices. It is a good choice for small networks (up to 1000 hosts) which require low resource consumption and are easy to configure.

Currently supported systems include Linux (with glibc and uclibc), BSD, Solaris, Android, and Mac OS X.
Linux platforms currently supporting DNSmasq include Gentoo, Debian, Slackware, Suse, Fedora, Smoothwall, IP-Cop, floppyfw, Firebox, LEAF, Freesco, fli4l, CoyoteLinux, Endian Firewall, and Clarkconnect. Also supports FreeBSD, OpenBSD, and NetBSD. The m0n0wall project is also used in the Cisco Linksys wireless router (dd-wrt, openwrt and the original firmware).

Features of Dnsmasq:

1. For devices that use a firewall, DNS setup is relatively straightforward and does not depend on the ISP’s DNS server.

2. Doing a DNS search on the client, if the modem connected to the Internet is closed, the search action will be immediately suspended.

3. In the device which uses the firewall, the / etc / hosts file stores the names of some hosts, and DNSmasq will provide services for those hosts. If the local machine names are in this file, then all hosts are in this file. Can be served without having to maintain the / etc / hosts directory on each host.

4. Built-in DHCP The server supports static and dynamic DHCP leasing services, polymorphic networks, and various IP ranges. It works through BOOTP relays and supports some DHCP options including RFC3397, a list of DNS options. Machines configured with DHCP can automatically obtain their domain name information, which is included in DNS. At the same time, these names can also be specified by the machine itself, or a domain name and MAC address can be linked and stored in the DNSmasq configuration file.

5. DNSmasq puts the Internet address and the address-to-domain mapping relationship in the cache, reducing the load on the server and improving performance (especially in modem connections).

6. DNSmasq can be configured to automatically obtain address information from the upstream Domain Name Resolution server using PPP or DHCP configuration requests. If the information changes, it will automatically reload the information. Since it allows automatic DNS configuration, Linux firewall maintainers are interested in this software.

seven. In IPv6 compatible devices, DNSmasq can interact with the upstream server via IPv6 and DNS services via IPv6. It can also interact with two protocols in devices supporting dual stack stacks (IPV4 and IPv6). It can even perform mutual conversion transfer between ipv4 and IPv6.

8. DNSmasq can be configured to send specific domain name resolution requests to specific upstream servers, which can be easily combined with private DNS servers.

To download it here is the connect.


About Author

Comments are closed.