Questions tagged [dnsmasq]

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

425 questions
2
votes
1 answer

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 looking up the IP assigned to each device on the…
Fake Name
  • 587
  • 1
  • 6
  • 16
2
votes
1 answer

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? dnsmasq.conf # Add other name servers here, with…
Horace
  • 23
  • 3
2
votes
1 answer

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 just set the…
Will Dennis
  • 304
  • 4
  • 16
2
votes
1 answer

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 Address: 4.5.6.7 However, wildcards in hosts are not…
patchrail
  • 207
  • 2
  • 10
2
votes
0 answers

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 --except-interface lo --enable-ra…
can.
  • 181
  • 1
  • 9
2
votes
2 answers

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: Server: 10.0.11.2 Address: …
cheechm
  • 21
  • 1
  • 3
2
votes
3 answers

How to configure dnsmasq to forward multiple DNS servers?

I'm now using public DNS over VPN to avoid some DNS pollution in China. But this come with a price that I can't take advantage of CDN. Is there a way to configure dnsmasq and let it query both DNS servers, both public one and ISP one, and return the…
xiaoyi
  • 123
  • 1
  • 5
2
votes
1 answer

How can i resolve all external addresses to internal address?

I am currently setting up a Linux server for a WIFI access-point. When ever someone who is connected to the hotspot/access-point? tries to reload a page they get forced onto the one page. Note: this wont have internet access! ie: user tries…
Darian
  • 21
  • 1
2
votes
0 answers

How do I make dnsmasq serve IP addresses via IPoIB?

I have a cluster farm that I'm setting up. The nodes (computers in the farm) are connected via ethernet & IP over Infiniband. I'm needing to netboot the nodes and thought dnsmasq would fit well as it provides all the features including support for…
hookenz
  • 14,472
  • 23
  • 88
  • 143
2
votes
1 answer

Configuring dnsmasq to handle mx records on pfsense 2.0.1

I know from dnsmasq's man page that it is capable of handling mx records, but I can't seem to find anything in pfsense's web GUI or anywhere online that talks about how to include mx records. I'm running pfsense 2.0.1 on a turnkey hardware…
Bob B.
  • 37
  • 3
  • 7
2
votes
1 answer

How to configure DNSMasq to allow wildcards for dns entries from DHCP?

I'm using PFSenses 2.0 in our development environment. I'm depending on the DNS Forwarder to add DNS entries for new DHCP leases. This is working well, though I need to add support for wildcards to these DNS entries. I know you can use…
2
votes
1 answer

Does running dnsmasq and named create conflicts on Ubuntu 12.04?

dnsmasq is run to help make the user experience smoother for the desktop users. If I run bind/named on this same server will there be conflicts between the two? What are the limitations of dnsmasq, where I should use bind/named instead? In…
Son of the Wai-Pan
  • 757
  • 4
  • 11
  • 25
2
votes
1 answer

Using dnsmasq for accessing multiple nameservers assigned by DHCP

At my work desktop running openSUSE 11.4, I have a local network which gets its address, domain (work.site) and nameservers (10.100.1.1, 10.100.1.2) info through DHCP - which get written into /etc/resolv.conf I get to access the internet using the…
Tuxdude
  • 123
  • 1
  • 6
2
votes
1 answer

resolvconf dnsmasq issue - system startup leaves blank dnsmasq resolv.conf file

On system start, /var/run/dnsmasq/resolv.conf file ends up being blank. I had expected the resolvconf package to update it with the info from /etc/network/interfaces (dns-nameservers, dns-search). I'm running a Ubuntu 10.04.2 LTS lucid server. I…
MrSunday
  • 151
  • 6
2
votes
1 answer

Moving the DHCP/DNS services from a Windows server (Active Directory) to a Linux machine

At my workplace we have a Windows Small Business Server, which runs DHCP and DNS services for our local network. I believe it's an Active Directory setup, but since I have no clue of Windows really, I'm not entirely sure about this. What I can say…
svenor
  • 123
  • 1
  • 4