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

learn more… | top users | synonyms

-2
votes
0answers
22 views

Internet access not working on VPN set up with OpenVPN: DNS issue [closed]

I need to set up a VPN using OpenVPN to use it in my project. I did my researches about this subject and I found that the best solution is using OpenVPN. And I try to find a solution to set up a VPN ...
3
votes
1answer
79 views

OpenVPN routing: multiple default entries. OpenVPN client: iptables. DNS issues

I'm running an OpenVPN-Server (Debian 8) for privacy purposes when using public wifi. Hence, all network traffic of the client is intended to be handled over the VPN connection. The server and client ...
2
votes
2answers
52 views

Work around windows automatically appending DNS suffix

At my workplace, our IT department manages a DNS server. My department works a lot with websites and to access staging servers we need to have certain domains map to those servers. Personally I just ...
1
vote
1answer
29 views

What is wrong with my simple dnsmasq setup?

I have dnsmasq running on a server (its IP is 10.10.31.22), let's say its hostname is mydns here's the dnsmasq.conf: domain-needed bogus-priv local=/argonath.mydomain.com/ interface=eth0 ...
0
votes
0answers
13 views

Specific host file for interface with dnsmasq

I use a VPN on an interface, e.g tun0 (2.2.2.0/24), while the LAN network is on the interface eth0 (1.1.1.0/24). I use dnsmasq to route specific addresses to my LAN and these addresses have their ...
-1
votes
0answers
16 views

DNSMasq stops forwarding requests after a while

Today I've been having DNS issues. I use DNSMasq in conjunction with OpenVPN to form a VPN. Before now I've never had any problems, but today DNSMasq has randomly stopped forwarding requests. No ...
-1
votes
0answers
21 views

What's the best way to create a captive portal access point if my authentication is on a website?

I have my access point set up with dnsmasq and hostapd. Hostapd supports authentication but it is local authentication. I need the user to be limited to a specific login URL, where once they hit the ...
1
vote
1answer
37 views

Specify destination DNS server based on subnet

Our office subnet is 10.1.10.0/24. I have a gateway (10.1.10.1) that is forwarding DNS requests to a server running DNSmasq (10.1.10.2). I have an IPsec tunnel to our Parent Company's network ...
0
votes
2answers
24 views

dnsmasq adblocking only working server-side

I'm trying to create a server-side adblocking mechanism through dnsmasq, but I only get results on the server itself, not the computers attached to my local network. First of all, my router is the ...
0
votes
0answers
24 views

Why can I only have one ProxyPass'ed subdomain?

Edit: The problem disappeared when I restarted my computer. I apologize for wasting everyone's time with this! I'm trying to set up local .dev domains for my different production apps. I have an ...
0
votes
1answer
29 views

accessing same domain name through a different port

I have a production website, and a development website. The must be accessed through the domain name, www.mysite.com. I would like to be able to access the dev site through a praticular port, say ...
0
votes
2answers
47 views

Routing DNS requests via DNSMASQ [duplicate]

Ubuntu 14.04 | dnsmasq My goal is to setup a catch-all HTTP server using an Ubuntu 14.04 workstation as DNS resolver. I have installed dnsmasq on my Ubuntu 14.04 OS using apt-get install dnsmasq and ...
0
votes
1answer
46 views

cobbler managed dnsmasq is not listening on the correct interfaces

I have a cobbler server I am trying to get installed. Unfortunately dnsmasq is not listening on the correct interfaces. It should be listening on my 192.168.10.2 network which is assigned to br1 ...
-1
votes
1answer
185 views

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 ...
0
votes
1answer
28 views

dnsmasq to server different ip depending on which NS is used

I want to simulate the following situation: If the client makes a request using NS1 for DOMAIN1 return IP1 If the client makes a request using NS2 for DOMAIN1 return IP2 i.e resolve the domain to a ...
0
votes
2answers
469 views

How to serve custom dns to dhcp clients in openWrt? [closed]

I would like to serve custom DNS server to dhcp clients. How I can achieve that in openWrt?
2
votes
1answer
103 views

Prevent postfix appending search domain

I have postfix running on OpenBSD, and I'm having trouble with it appending a search domain when none is configured in either postfix or the local DNS server (dnsmasq). My domain has a wildcard CNAME ...
2
votes
1answer
61 views

How to disable lbvirt network DNS

Is there a way to disable DNS in libvirt network? I want to have custom configured dnsmasq for local DNS caching but libvirt's dnsmasq holds 53 port.
1
vote
2answers
236 views

Dnsmasq: Redirect entire domain to localhost only for specific MAC Addresses

I'd like to redirect example.com to the local host, but only for specific MAC addresses. Obviously, specifying address=/example.com/127.0.0.1 in dnsmasq.conf does this for everyone. Is there any ...
0
votes
1answer
111 views

URIBL_BLOCKED on Ubuntu 14.04 Server with working Dnsmasq

I've set up a small mail server which includes Spam Assassin. Everything seems to work great except one. SA docs suggest installing a caching DNS server to keep some RBLs from blocking the server over ...
1
vote
1answer
821 views

Access libvirt+KVM virtual machines with DNS

I have an Ubuntu Trusty machine running KVM + Libvirt to manage small virtual machines, and using the standard NetworkManager to connect to regular networks. I want to be able to access the virtual ...
0
votes
1answer
119 views

Configure ufw pptpd and dnsmasq on the same server

I've got a an ubuntu 14 server running both pptpd and dnsmasq. I'm having trouble configuring ufw to allow pptp clients to resolve their DNS queries using the local dnsmasq server. I've correctly ...
1
vote
1answer
170 views

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 ...
0
votes
1answer
148 views

DNS queries fail from local machine running dnsmasq

I have a "sandbox" web server setup for my developers to work on. Each one has their own IP, with all the "production" hostnames configured, and a DNSmasq configuration to answer for those production ...
0
votes
2answers
161 views

URL logging on DNS server?

Following this setup http://www.g-loaded.eu/2010/09/18/caching-nameserver-using-dnsmasq/ I was able to configure a DNS resolver server using dnsmasq for my network. The setup works correctly and logs ...
0
votes
0answers
363 views

DNSMasq forgetting cname entries after first access

I have an Asus router (running Merlin firmware) that is currently exhibiting an annoying issue. When I set up a cname entry in dnsmasq.conf, that entry works the first few time it's accessed then ...
0
votes
0answers
199 views

DNSMasq on DD-WRT not working as expected

Following the guide given here I created several DNSMasq options for a local network, however none of them are working as they should. I am hosting a website internally on a viertual server, however ...
0
votes
0answers
23 views

dnsmasq fails a few seconds, then get back to normal (debian)

I am running a box with debian 6.0.8, and DNSMasq 2.55 (from Debian repository). I use it to resolve some local hostnames, and it mostly works fine. but some times, it will fail to answer requests ...
0
votes
1answer
283 views

How can I get bind to return the same dns answer as DNSMASQ returns?

As Dnsmasq does not support Views, I have installed and configured bind9. Everything works, however I am noticing on a specific entry that my bind server is not returning the same answer/response as ...
3
votes
1answer
5k views

dnsmasq: failed to create listening socket: Address already in use

The OS is Scientific Linux 6.3 (which is similar to redhat, centos and fedora) and I have installed dnsmasq with the following configuration interface=eth1 domain=hpclab expand-hosts ...
1
vote
2answers
47 views

Are there other Dnsmasq type programs that can return client specific tables?

We are using Dnsmasq, we have several entries that are working well. What we are looking for is to return a different config file for specific ip addresses. i.e: When ever ip 1.2.3.4 connects, it ...
0
votes
2answers
1k views

is it possible to run bootp/pxe server using dnsmasq without act as dhcp server

on my network its already exist a router that do dhcp, boot in this network i need to boot a diskless system that use pxe to boot from network, while the pxe server is using dnsmasq to serve O/S, but ...
-1
votes
1answer
246 views

How to have a local dns server with no conflict with internet addresses?

I need a local dns server on an ubuntu server to resolve name of local servers. I used dnsmasq, but the problem is that it tries to resolve all addresses (for example http://serverfault.com) and ...
0
votes
1answer
137 views

Suggestions required for Internal DNS

I'm setting up new server environment consist of 70+ servers all running Linux (Redhat/CentOS mixed.) I want to setup a couple of DNS server (primary/secondary) to be used/configured on all servers ...
4
votes
2answers
4k views

dig & nslookup can't resolve local hosts unless I specify the (local) DNS server to use

I am setting up a small private network within my University network. I have a Centos 6 box (sun) sitting between my private network and the university WAN. eth0 on the sun is connected to the WAN and ...
0
votes
1answer
63 views

Resolve all external addresses to an internal address when an internet connection is missing

I am using a raspberry-pi running ArchLinux with a WiFi router to provide an access point for locally-hosted web content. I am running a DHCP server. When the Pi is plugged into an internet ...
1
vote
0answers
93 views

How to configure servers on LAN to emulate no-ip.com functionality with dnsmasq and apache wildcard subdomains?

I have a multi workstation LAN with Apache2 serving a website at 10.0.0.3:80 and running on Ubuntu Linux. This LAN is segmented from another LAN via a router, from which all machines on this LAN ...
-3
votes
1answer
136 views

What does dnsmasq 'add-subnet' for?

I found 'add-subnet' option in DNSMASQ man page, described as forwarding client's subnet to upstream DNS server. However after I added 'add-subnet=24' (also tried 'add-subnet') to dnsmasq.conf, ...
0
votes
1answer
1k views

dnsmasq(as DHCP server) isn't working in KVM+libvirt envirmont

I'm using dnsmasq as DHCP server in VM environment. But It didn't working. I disabled basic DHCP feature in libvirt. <network> <name>default</name> ...
0
votes
1answer
217 views

Puppet install of Openstack: Could not find resource 'Package[dnsmasq-base]Package[dnsmasq-utils]' for relationship on 'Package[neutron-dhcp-agent]'

ebug: Executing '/etc/puppet/etckeeper-commit-pre' debug: catalog supports formats: b64_zlib_yaml dot pson raw yaml; using pson err: Could not retrieve catalog from remote server: Error 400 on SERVER: ...
0
votes
1answer
58 views

Make dnsmasq reject some names

I'd like to setup dnsmasq as DNS-only server for blocking certain domains. But instead of having it return 127.0.0.1 or 0.0.0.0 or such, I'd like it to respond with a No such name. just as if the name ...
0
votes
1answer
154 views

Use a LAN IP for dnsmasq

We have a single iMac in our office running a Vagrant box exposing the public IP of 192.168.1.70. Everyone in the office used to all be able to access sites on this box (which all use ".dev" such as ...
1
vote
1answer
1k views

Spacewalk, Kickstart, Cobbler, PXE, Dnsmasq

I have installed a Spacewalk server. One of the final features I am trying to configure is Kickstart. I cannot seem to find any definitive documentation on how to set this up in a "real environment". ...
5
votes
2answers
324 views

Why nslookup doesn't use mdns while ping do?

In dnsmasq.conf: address=/local/127.0.0.1 In resolv.conf: # Generated by NetworkManager domain example.com search example.com nameserver 127.0.0.1 nameserver 10.66.127.17 nameserver 10.68.5.26 I ...
0
votes
0answers
479 views

dnsmasq forward dns requests + add domain suffix for not fqdn

I want to use dnsmasq as a DNS forwarder: for fully qualified domain names it should forward request without change; for not fully qualified name it should add domain to the name and forward ...
1
vote
1answer
804 views

NSLookup resolves to local DNS, but browser resolves to public

Problem When trying to access internal servers via hostnames using NSLookup (both Windows & Linux/Arch/Debian) I receive the correct DNS server address, FQDN and destination IP address. When I ...
-1
votes
1answer
119 views

How to setup open/public DNS server in a secure way? [closed]

For a custom application (retrieving data from embedded sensors), I need to create a fake DNS entry to redirect the requests to my servers. I want to setup a DNS server so the users just have to ...
0
votes
1answer
172 views

dnsmasq - filter requests by source IP

It is not recommended to answer recursive DNS queries from outside the local network. Is there a way to make dnsmasq answer queries about specified domains (part locally part forward to another DNS ...
1
vote
0answers
205 views

dnsmasq and lxc with wildcard DNS subdomains

I'm using LXC to create a new containers. All of them are using dnsmasq with DHCP to get their IP address and to have local DNS server. I setup a domain .lxc in dnsmasq. So every container will get ...
4
votes
1answer
685 views

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 ...