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

0
votes
0answers
4 views

DNSMasq forward to server with non-standard port

How can I add a server to forward all DNS lookup on dnsMasq to? And If it has a different port? I was trying to get working this: server=/all/1.2.3.4#54
0
votes
0answers
8 views

DNS Server Forwarder to alternative port

My ISP router blocks and rewrites all requests coming on port 53 (DNS port) so I can't use any alternative DNS server. Some provider, like OpenDNS, have DNS server listening also on port 553. Most of ...
0
votes
2answers
40 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 ...
-2
votes
1answer
42 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
36 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 ...
3
votes
2answers
135 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
29 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
47 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
39 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
129 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
86 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
28 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
0answers
48 views

How to setup dnsmasq switch nameserver on servfail

I have dnsmasq on Ubuntu 13.10 in strict-order mode. My primary upstream dns is able to filter domains with ads\banners. So i strongly prefer to use this server to resolve names. However this server ...
0
votes
1answer
76 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
375 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
117 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
158 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 ...
0
votes
1answer
209 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
77 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
82 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
102 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
250 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 ...
3
votes
2answers
65 views

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 ...
1
vote
1answer
99 views

Waiting for devices to come up on Debian boot

I'm running OpenVPN and dnsmasmq on my wheezy system. Dnsmasq is only necessary for VPN and local users, so I don't want it to listen on all devices (yes, there is also a firewall, anyways). When ...
0
votes
2answers
86 views

Spoofing NS records for pre-transfer DNS testing

I'm about to transfer a domain from one registrar and DNS provider to another, and I want to test the new DNS host before starting the transfer. The new host provides plain DNS service beforehand, so ...
0
votes
0answers
67 views

How to make dnsmasq resolve a domain based on where a query were made from

On my phone, I'm pointing to my PC address for DNS server (dnsmasq), and it is working for normal DNS queries but not for local. I can see from a ping app that local domains are resolved to 127.0.0.1, ...
1
vote
0answers
70 views

OpenVPN private domain unsing DNSMasq

What I want to do is to set up OpenVPN network which would make it possible to access private domain ( a.domain, b.domain, d.domain). I believe the simplest way to do it is to use dnsmasq to resolve ...
0
votes
0answers
61 views

DHCP server with ability to update mac address dynamically

Is there a better way to maintain MAC to IP specification in dhcp with out restarting dhcp service each time when there is an update. is it possible to use DHCP with database in Linux to save all ...
0
votes
0answers
30 views

DNSMASQ+pppd daemon, can't connect to outside worl

I have DNSMASQ running as a dhcp server on my machine on the one network card. I am connected to some machines over the lan. My only outward connection is an outward connection with pppd over GPRS. I ...
0
votes
1answer
515 views

dig succeeds, nslookup fails (with dnsmasq as the server)

I installed dnsmasq on a machine of mine (It's a Kubuntu 12.04 LTS), backed only by /etc/hosts (no connection to the Internet until later). Now, if I dig mymachine, I get 192.168.0.1, but if I try to ...
0
votes
1answer
333 views

Get OpenVPN clients names to resolve through dnsmasq

I have a PFSense box running as an OpenVPN server. There are several remote devices that connect through the VPN (as tap devices). The VPN stuff is working, I can access the remote hardware by ...
1
vote
1answer
314 views

DNSMasq wildcard top level domain/suffix

I'm running DD-WRT on my router and I need to block certain websites and all their potential suffixes, is that possible or would I have to list them all out individually? What I have is this ...
-3
votes
3answers
240 views

How to get machines to use a DNS without a fixed IP, which does not appear in the DHCP lease? [closed]

I have some machines on a network. This network has a DHCP server - which I have no control over, and no DNS server, i.e. the DHCP lease refer you to some ISP's server and do not serve IPs for local ...
1
vote
1answer
81 views

What does “with domain specs non-public dns” mean?

I am configuring DNSMASQ to utilize upstream nameservers without using /etc/resolv.conf with the server= option. What I don't quite understand is what domain spec mean in the following sentence? ...
0
votes
3answers
252 views

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 ...
1
vote
0answers
192 views

Configuring dnsmasq to properly work with mod_rewrite on Mac OS X Mountain Lion

I desperately need help. I read an article on the echoditto blog (http://www.echoditto.com/blog/never-touch-your-local-etchosts-file-os-x-again) and followed the recommendations for setting up ...
0
votes
1answer
96 views

Fix security vulnerability in dnsmasq on Ubuntu 12.04

I have an Ubuntu 12.04 server using dnsmasq and recently ran into the following security vulnerability which does not seem to have a fix on 12.04. ...
1
vote
1answer
242 views

Restrict dnsmasq to offer DHCP to VMs on localhost only?

I need to set up dnsmasq to offer DHCP (and optionally DNS) to VMs running on the localhost only, and not to any other systems doing a DHCP Discover that are external to the box running dnsmasq. Do I ...
1
vote
0answers
455 views

How to config libvirt network setting about disabling dnsmasq “except-interface=lo”?

Here is the thing. My VMs run with libvirt and use default network libvirt-provide, and I've mad each VM registers its hostname to dnsmasq set by libvirt. so I want to look up its hostname for ...
0
votes
1answer
166 views

multiple ips for wildcard domains using dnsmasq's config format

dnsmasq is capable of assigning multiple static ips to one host when using the hosts file: 1.2.3.4 bla.com 4.5.6.7 bla.com nslookup: Name: example.com Address: 1.2.3.4 Name: example.com ...
0
votes
2answers
170 views

DNS lookup on DNS server works, but wrong IP on clients

I am trying to set up a DNS server to change a few domains in my local netwkork - first with bind9, then with dnsmasq. With both software, I resulted in the same problem: When executing nslookup / dig ...
1
vote
0answers
168 views

Assign IPv6 addresses to kvm virtual machines using DHCP

I created a bridge using brctl called dhcp_test_br, and bind my new created kvm virtual machine to this bridge. Then I ran dnsmasq: dnsmasq --strict-order --bind-interfaces --interface=dhcp_test_br ...
0
votes
0answers
238 views

Bind querys public nameserver gets private IP as answer

Currently I have a dnsmasq server (192.168.0.53) answering with local IP addresses for queries to a public domain. Facing internet there is an old (really old) bind server, master for example.com. So ...
6
votes
1answer
502 views

Per-client DNS servers with DNSMasq

I am running TomatoUSB with DNSMasq to provide DHCP and DNS services for my local network. What I would like to achieve is to provide alternative DNS servers for one or two specific clients on the ...
0
votes
0answers
94 views

How do I properly add dnsmasq to my runlevels so it starts on boot?

When I run this command: sudo update-rc.d dnsmasq defaults I get this error: update-rc.d: using dependency based boot sequencing update-rc.d: warning: dnsmasq stop runlevel arguments (0 1 6) do ...
0
votes
2answers
907 views

dnsmasq - Multiple forwarding servers for domain entries?

I was wondering if it was possible to configure dnsmasq to send "server=" entries to multiple upstream servers? so like this: server=/facebook.com/1.2.3.4 server=/facebook.com/2.3.4.5 and have it ...
0
votes
1answer
185 views

Getting DNS replies for non-existing hostnames (DNSMasq)

I noticed some 'weird' DNSMasq behavior when I set up my LAN for dual stack IPv4 & IPv6 networking. It seems that my DNS server (DNSMasq) which acts as a forwarder and also has all the host names ...
0
votes
2answers
314 views

Securing dnsmasq - interface(s)?

Im preparing to deploy about a thousand fanless machines running Debian. Each machine has 3 interfaces (eth0, eth1 and uap0). In many cases these machines will sit between a cable modem and a home ...
0
votes
2answers
241 views

how to give cname to any device?

I am working on linux environment and c language. I can not use python,perl,PHP and apache. What my exact need is I want to give a same host name to each device connected in the network. I know that ...
1
vote
2answers
385 views

DNS Server with dnsmasq

I'm trying to set up dnsmasq as a dns server on a virtual machine running Debian. I can successfully run nslookup from another computer: nslookup facebook.com 10.0.11.2 and the answer I get is: ...