Questions tagged [dnsmasq]

dnsmasq is a lightweight DHCP, DNS and TFTP server application for *nix platforms intended for use on small and home networks.

407 questions
5
votes
1 answer

Using dnsmasq to service multiple subnets

I'm pretty new to using dnsmasq, and I would like to keep utilizing it in my lab environment. However, being new, I am unsure what commands/files to use. I've spent two days doing research and learning how my environment was configured, and I am…
5
votes
3 answers

dnsmasq: failed to create listening socket for port 53: Address already in use

I got this error when i done the setup dnsmasq. ashokkrishna@krishna:~$ sudo dnsmasq dnsmasq: failed to create listening socket for port 53: Address already in use ashokkrishna@krishna:~$ netstat -lpn | grep :53 (Not all processes could be…
ashok
  • 229
  • 2
  • 4
  • 10
5
votes
1 answer

Slow boot and dns doesn't work

I don't understand what happened because i didn't change anything in system for quite a long time. Now system boots too slow and when it's booted - dns requests don't work. I can ping remote hosts by ip but can't request them by names. Here's what…
Dmitrii Mikhailov
  • 179
  • 1
  • 1
  • 9
5
votes
4 answers

How to resolve all .dev domains to localhost on Windows

We'd like to set things up on our developers' Windows boxes such that all .dev domains resolve to localhost. On Unix systems, firing up dnsmasq with a single additional line to hosts would do it, but dnsmasq is sadly Unix-only. On the Windows…
Benjamin Pollack
  • 235
  • 1
  • 2
  • 6
5
votes
2 answers

DNSMasq is slower than my ISP at returning cached DNS entries.

I have DNSMasq set up on a relatively idle Pentium D 3.4Ghz Debian Linux machine. When I run dig queries locally, the second result is always 0 ms. When I run dig queries on any other machine on my network, the cached response time is a constant…
sludge
  • 332
  • 5
  • 10
5
votes
2 answers

dnsmasq & Tomato - Elminate the need for a trailing dot for name resolution

I realize that a trailing dot after a hostname is technically "correct", but it's a pain in the butt to type and is unintuitive for non-technical users. I had DDWRT on a Linksys router of mine many, many years ago, and it resolved local hostnames…
Eric
  • 237
  • 1
  • 6
  • 12
5
votes
2 answers

OpenVPN: Not all DNS entries get pushed to clients from server. (dnsmasq)

I have been trying to find a solution to this problem, but have found no answer so far, so I hope you guys can help me out. I have a server running Ubuntu 10.04, which has a static IP address and an URL pointing to it, say server.foo.com On this…
Michael
  • 51
  • 1
  • 3
4
votes
2 answers

NetworkManager & dnsmasq - ignore auto DNS settings

I'm running Arch Linux with NetworkManager and dnsmasq set up. It all seems to work fine, except that I try to use the new CloudFlare 1.1.1.1 DNS, but the resolver keeps using the DNS that is advertised by my router. The nameservers seem to be…
Taco de Wolff
  • 153
  • 1
  • 1
  • 7
4
votes
2 answers

How to I make a domain resolve to different IP's when resolved from internal network and external network?

So I looked through BIND and Dnsmasq and unable to figure this out. I have a few of servers on DigitalOcean, and they are on the same datacenter. I want to be able to use internal IPs to get better intra network pings and (obviously, free private…
4
votes
1 answer

Remove libvirt's dhcp lease entry using virsh

Using: $ virsh version Compiled against library: libvirt 1.3.1 Using library: libvirt 1.3.1 Using API: QEMU 1.3.1 Running hypervisor: QEMU 2.5.0 $ $ $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: …
Amir Keibi
  • 141
  • 1
  • 4
4
votes
1 answer

Separate Servers for TFTP and DHCP for PXE Boot

This seems like it should be simple, but I can't find any actual information: Is it possible to have two separate servers, one running dnsmasq doing DHCP while the TFTP (or HTTP) server is running on a separate machine?
Dessa Simpson
  • 491
  • 7
  • 25
4
votes
1 answer

Does a Windows host correctly interpret dnsmasq parameters?

I have a network of Windows 10 machines served (DNS and DHCP) by a dnsmasq instance on a Ubuntu server (Ubuntu 15.10, dnsmasq 2.75). The setup basically works (dnsmasq provides addresses and manages DNS requests correctly) except for one specific…
WoJ
  • 3,365
  • 8
  • 46
  • 75
4
votes
2 answers

possible to make samba4's internal dns server listen on non-standard port?

Is it possible to make samba4's internal dns server listen on a port other than 53? I need to run two dns server's on this host -- my desire was to use dnsmasq on the standard port for client's and configure dnsmasq to resolve the domain owned by…
Ben
  • 391
  • 1
  • 3
  • 11
4
votes
2 answers

Set gateway per interface in DNSMasq

I have dhcp set up using DNSMasq, which looks like this: dhcp-range=interface:eth0,10.1.0.50,10.1.0.250,255.255.255.0 dhcp-range=interface:eth1,10.1.20.50,10.1.20.250,255.255.255.0 What I need to be able to do is set the gateway 'dhcp-option 3' for…
Jerbot
  • 374
  • 2
  • 3
  • 12
4
votes
2 answers

make dnsmasq ignore specific entries in /etc/hosts

I've set up a machine running dnsmasq, essentially serving its /etc/hosts file. However, there are specific entries which I want in that machine's /etc/hosts, but I don't want served. How can I make dnsmasq not serve them?
einpoklum
  • 1,622
  • 3
  • 19
  • 30
1 2
3
27 28