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
0 answers

DNSMasq lookup dns for domain by interface

I have DD-WRT running dns-masq to use different name servers for a wireless access point. I want to take this one step further but I can't seem to get it working. My current setup (which works perfectly) dhcp-option=br1,x.x.x.x,y.y.y.y Now I want…
DurkD
  • 21
  • 1
2
votes
3 answers

Regular expression in not working in dnsmasq config

I have dnsmasq version 2.66 installed on CentOS. As per release notes, dnsmasq supports regular expressions starting 2.60 I have following enty in my config file: address=/:clients[0-9]*\.google\.com/192.168.10.2 This single entry should resolve…
Kartik
  • 267
  • 2
  • 9
2
votes
1 answer

Enable DHCPv6 in dnsmasq to distribute fixed range IPv6 addresses but failed

Help wanted! I want to create a AP in my Raspbian PI. And i choose dnsmasq as the dhcpv4 and dhcpv6 server. However, my laptop can acquire IPv4 successfully but fail to get a IPv6. Why the dnsmasq doesn't work for IPv6? # my…
Ray
  • 21
  • 1
  • 1
  • 4
2
votes
2 answers

Is it possible to split a domain using dns Bind9

I have a domain (example.com) that the hosts are split in several different networks/places. Most of these hosts are hosted in our office. What i am trying to do is configure a zone that resolves internally these hosts (eg1.example.com,…
Winter
  • 131
  • 1
  • 5
2
votes
3 answers

dnsmasq on virbr0 (libvirt) and network manager

I want to run dnsmasq on my local machine in order to configure a wildcard to resolve to 127.0.0.1 for testing purposes. However, when I went to start dnsmasq with systemd I got the following error message: [root@dhcppc4 ~]# systemctl status dnsmasq…
user315915
2
votes
1 answer

Dnsmasq being used as server's DNS server when it shouldn't be

I have the box's DNS nameserver hardcoded in /etc/network/interfaces with dns-nameservers 8.8.8.8 (I just have to google DNS during testing, using another DNS live.) And then I have dnsmasq running on the box to be a DNS cache, but also to rewrite…
marcusds
  • 207
  • 2
  • 9
2
votes
1 answer

Dnsmasq , redirect all but google.com

My router uses dnsmasq. In my dnsmasq.conf, I write: address=/#/127.0.0.1 in order to resolv any domain to my local server. It works. Now I'd like to make possible to join www.google.com. Any other domain is "redirected" to my local. is this correct…
ArchiT3K
  • 155
  • 2
  • 12
2
votes
1 answer

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…
Cameron Ball
  • 205
  • 1
  • 5
  • 14
2
votes
1 answer

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 entry (*.example.com) pointing at…
Synchro
  • 3,148
  • 6
  • 27
  • 38
2
votes
1 answer

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 configured both pptpd and dnsmasq (there are a few…
Touff
  • 183
  • 1
  • 3
  • 14
2
votes
2 answers

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 names but to return their own IP, because its not…
TommyTheKid
  • 166
  • 9
2
votes
2 answers

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 currently this dnsmasq act as dhcp server too, so…
uray
  • 245
  • 4
  • 7
2
votes
0 answers

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 receive their IP's. Is the following concept feasible…
2
votes
1 answer

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". We already have a DHCP server, I would like to…
canon
  • 55
  • 1
  • 7
2
votes
1 answer

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 the services get started at boot, openvpn is started…
Michael
  • 123
  • 1
  • 8