The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
3answers
2k views

How to use dnsmasq with DHCP-assigned DNS servers?

TL;DR version: How do I configure dnsmasq to fall back to the DNS servers pointed to by the DHCP server on my LAN, to enable switching wireless networks? On my developer laptop I've recently started ...
5
votes
2answers
5k views

DD-WRT: DNSMasq expand-hosts not working

I have a Linksys router running DD-WRT (Firmware: DD-WRT v24-sp2 (09/08/09) mini). I have it successfully resolving the DNS names for my DHCP-assigned systems, but only when I fully-qualify those ...
4
votes
1answer
12k views

How can I set up a 'local' domain so that everyone on my local network can view a locally hosted site?

I want to set up MediaWiki on one of my home machines, and then have all requests made on the local network for 'wiki.home' or 'wiki.local' point to that box. I know that this can be done by editing ...
3
votes
5answers
18k views

DDWRT serving additional DNS servers instead of just the router's IP

I have a DD-WRT router set up with DNSMasq to resolve certain domains to internal addresses and pass everything else thru. The router itself is configured to use Google's public DNS servers to resolve ...
3
votes
1answer
903 views

OpenWRT based gateway with dnsmasq and internal server with bind

I have router based on OpenWRT which has dnsmasq 2.59. Inside my local area network I have a NS server bind. This server has internal and external views for a couple of my domains. My router forwards ...
3
votes
1answer
373 views

how can I combine dnsmasq and urlblacklist?

Is there a way to integrate dnsmasq and the popular urlblacklist.com list? I thought about adding all the entries with the -A flag, but that's a lot of hosts for dnsmasq to process, especially on a ...
2
votes
2answers
3k views

dnsmasq without altering /etc/hosts file manually

I've trying to get dnsmasq working as a combined dns and dhcp server. It's infuriating so far... In short, the DNS works fine for anything added to /etc/hosts, and the dhcp works fine, but the dhcp is ...
2
votes
2answers
278 views

Why is Chromium bypassing /etc/hosts and dnsmasq?

I'm using hostsblock together with dnsmasq on Arch Linux to block some websites, one of them is facebook.com and www.facebook.com. I know everything is working properly because a simple ping to ...
2
votes
1answer
200 views

Replacing stock dnsmasq with optware dnsmasq

This question if for DD-WRT installed on e3000 with optware. I have replaced the stock dnsmasq to get logging, using this: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=660694 I installed optware on ...
2
votes
1answer
136 views

reverse usb tethering in strict dns environment

In the environment, all DNS query is blocked by firewall. And wifi or 3G is not allowed I want to let a rooted Android(192.168.42.2) accessing internet by plug usb on PC(192.168.42.1 for usb0 ...
2
votes
1answer
397 views

Create alias to local hostname

I have the following scenario: A host machine (OS X) and a guest machine (Ubuntu). The guest is running through Virtual Box, and the network configurations is set to "Bridged adapter". Both machines ...
2
votes
0answers
329 views

Using dnsmasq on OS X when not connected to the Internet

I'm routing dns requests through dnsmasq so that domains I'm using for local development point to 127.0.0.1. This works great when I'm connected to the Internet via Wi-Fi or ethernet, but I start to ...
1
vote
2answers
554 views

In OS X, how can I prepend 127.0.0.1 to the list of DNS servers obtained through DHCP?

I am trying to use dnsmasq to resolve certain known domains using its configuration, but let the rest of the requests go through to the normal DNS server assigned by DHCP. I cannot get this to work. ...
1
vote
1answer
601 views

Subdomains for server behind NAT

I have server (ip: 192.168.1.2, openSUSE 12.2, Apache 2) behind router (ip: 192.168.1.1, TomatoUSB Toastman Build). I'm using FreeDNS (afraid.org) and I assigned subdomain (say x.afraid.org) to ...
1
vote
1answer
872 views

linux dnsmasq: how do I increase the ttl?

Is it possible to dictate the TTL of resolved entries? In other words, is it possible to override the received TTL for resolved entries and make those higher? Reason: I find that dnsmasq tries to ...
1
vote
1answer
144 views

Domain Resolving To Wrong IP Using DNSMASQ

I have two VMs, one with my application which talks to the other vm running asterisk (and centos). The config for the application server needs to point to the asterisk box. To avoid having to change ...
1
vote
1answer
3k views

dnsmasq: how to handle the local domain (A, PTR)?

(adapted from the dnsmasq mailing list which archive seems to be down so I am not sure it is still active) Hello, I set up dnsmasq on my home network to replace the isc/bind legacy system :) when ...
1
vote
3answers
984 views

Setting up DNS server inside network

OK so here's a little problem I have: I'm trying to set up my Raspberry Pi as a DNS server (for filtering and caching). The Raspberry Pi is in my network, and has a DHCP IP from the router. The DNS ...
1
vote
1answer
541 views

How to register subdomains on dnsmasq

how can I register subdomains of my web development server into my DNS automatically? I mean, I wouldn't like to edit the DNS config file, but send something from the client that says 'Hey, I have a ...
1
vote
2answers
499 views

What do I need to make Linux host names resolvable on LAN?

What do I need to get local host names to be resolvable? BIND? DHCP? dnsmasq? With the needed components, how do you configure it? We use Vyatta 6.4 as our router and we have CentOS 6.3 boxes. I ...
1
vote
1answer
1k views

Debian 6 Internet connection sharing aka IP masquerade not working

The problem: the computers [Xbox 360 and a Kubuntu 12.04.1 laptop] can't access Internet through a recently-installed desktopless Debian 6 laptop (which is wirelessly connected to a WLAN station) but ...
1
vote
1answer
106 views

Outside lookups broke when using DNSMasq on inside AP

I have DNSMasq providing DNS and DHCP on 192.168.1.3. Gateway is 192.168.1.1. I turned off DHCP on 1.1. Any clients on the net can't resolve outside hosts... Clients can't resolve outside ...
1
vote
0answers
25 views

how to pick addresses and DNSMasq server for PPTP VPN client (in DD-WRT)?

I must be confused about terminology for addresses my remote network uses, but I could not get my DD-WRT (build 20548) connect to the PPTP server. At least I could not even verify that I am connected ...
1
vote
0answers
7 views

dnsmasq doesn't get udp queries

I'm trying to setup dnsmasq on debian box to serve in my local network. dnsmasq seems to work. It listens on 53 port UDP and TCP. It answers queries (nslookup or dig) locally, but when I try to query ...
1
vote
1answer
440 views

Verify dnsmasq configuration

How to verify dnsmasq's configuration? dnsmasq used to be able to give verbose info about itself in /var/log/daemon.log, as explained in dnsmasq testing. However, when I restarted my dnsmasq ...
1
vote
1answer
675 views

Ping to dnsmasq's host resolvesto 127.0.0.1

I've just set up dnsmasq in my home lan for the first time. I got it as DHCP and DNS. Something strange is that when I ping DEV01 (which has dnsmasq) it resolves to 127.0.0.1 and I don't know why it ...
1
vote
0answers
275 views

Windows not recognizing local network domain name

I'm setting up a small network for a club that I'm a member of. The layout is a single server with two ethernet interfaces, connected to a wireless router and a wireless bridge. The bridge connects to ...
1
vote
1answer
606 views

Two DNS servers, one Windows, one Linux

I've got an issue with my home network - I have a DDWRT router running as a gateway and primary DHCP/DNS Server on 192.168.1.1 and a Windows Server 2008 machine running as a domain controller and ...
1
vote
0answers
221 views

Send local IP from VPN instead of remote IP

I'm trying to setup a server with L2TP and Apache. Some folders in the Apache config will only be accessible to those connected to the VPN. I do know that I can use the allow and deny rules with the ...
1
vote
0answers
674 views

IPv6 addresses in dnsmasq

As I need to use dnsmasq to route all requests on *.local to my local machine (and use there an IPv6 addresses), i set up the dnsmasq like this: /etc/dnsmasq.d/my-local.conf address=/local/::1 ...
1
vote
1answer
258 views

Request forwarding

I have a WRT54G router running with a sub-domain pointed to it, e.g.: sub.domain.com. Now I want to forward external requests (but also local) to computers which are connected to my router so if I ...
0
votes
1answer
710 views

WiFi Conflict with dnsmasq (OSX)

I recently installed dnsmasq so I could use wildcard lookups for *.local addresses using these instructions. The only difference was that mine was setup to resolved .local instead of .dev, like so: ...
0
votes
1answer
19 views

dnsmasq not working to point .local addresses to 127.0.0.1

I'd like to get .local addresses (such as test.local) to point to 127.0.0.1 but it isn't working. I'm on latest Ubuntu. In /etc/NetworkManager/NetworkManager.conf I commented out dns=dnsmasq then did ...
0
votes
1answer
113 views

Why are only some hosts resolved using DNS?

I have a DD-WRT router configured with DNSmasq. The config is local=/myhome.local/ expand-hosts addn-hosts=/jffs/hosts.dnsmasq This way I can resolve network hosts (e.g. ping macbookair), but other ...
0
votes
1answer
167 views

Home Router (DD-WRT) and using DMASQ for a host via dynamically assigned via DHCP

I have a home Home Router (DD-WRT) and I want to be able to look up machines via hostname. However, I would like to do this with machines where the IP Address id dynamically given via DHCP. Example ...
0
votes
1answer
342 views

How do I add custom DNS server and preserving default DNS of ISP in OS X Mountain Lion

I'm using OS X Mountain Lion. I'm using dnsmasq to set up wildcard localhost domain names, such as http://local.dev, to point to localhost. But I have to add 127.0.0.1 in my system preference -> ...
0
votes
1answer
1k views

Where to set external DNS in DNSMASQ?

I am getting "Query refused" from my network when I use nslookup google.com. The DNS Server is 192.168.1.2 who runs dnsmasq. It was working yesterday. How can I solve it? I bet it's something about ...
0
votes
1answer
2k views

Logging HTTP traffic on Linux

A bit of a backstory, my brother (in his early teens) has an attention disorder. Often I find him when he is supposed to be doing his homework instead surfing the web. We would ideally like to ...
0
votes
0answers
9 views

/etc/ethers is not being read by dnsmasq

I recently configured dnsmasq on Raspbian, and everything was working perfectly except that /etc/ethers wasn't being read (yes, I did uncomment read-ethers and remember to restart dnsmasq) - the ...
0
votes
0answers
22 views

DNSmasq and VPN

I have a question is it possible to use DNSmasq only for local hosts? My situation is: I have a private server and I use DNSmasq to change public to local IP on LAN, In my work we have multiple ...
0
votes
0answers
30 views

Ask dnsmasq the hostname used to find to an IP address

I know I can find a DNS name from an IP address by using a reverse translation DNS query. But that just gives me a DNS name for that IP. Instead, I'd like to find the DNS name that was used to find ...
0
votes
1answer
47 views

dnsmasq - Redirect URL request to guest VM

I am running Linux Apache on my local Parallels VM as a guest, my goal is: redirect an URL request (http://test.dev) from host (OS X) to Linux Guest. I had a local dnsmasq setup with MAMP (which ...
0
votes
1answer
70 views

Computer on home network resolves host name to different IP addresses

I have a computer on my home network that is also accessible from the internet through a dyndns host name. When I am at home, I need the xxx.dyndns.org host name for my machine to resolve to an IP on ...
0
votes
0answers
557 views

Dnsmasq running on raspberry pi will serve non-local DNS to ethernet but not wireless hosts

I have a Linksys WRV200 wireless router. I have just added a raspberry pi, connected via ethernet, working as a DCHP server and caching DNS server. Dnsmasq also serves local domain names. Dnsmasq ...
0
votes
0answers
36 views

VPN DNS resolution

I have several Windows, Linux, and Mac clients connected to an OpenVPN server. I would like for some of them to be able to resolve internal names (host.vpn.company.com, where the VPN server which is ...
0
votes
0answers
492 views

DD-WRT: dnsmasq headaches with static hosts

I am using dd-wrt (r23503, for the record) on my new Asus RT-AC56U router. Unfortunately, dnsmasq configuration is giving me nothing but headaches. Here's what I want: DNS queries from the ...
0
votes
2answers
66 views

router dhcp config for pxe boot

I want to set up pxe/tftp server in my network. I already have a dhcp server on my isp router wich has dhcp option 60 and dhcp option 240. I nee to know if can i set it up in order to lease pxe info ...
0
votes
1answer
79 views

how to use use local nameservers with public domain?

I am testing a dynamic configuration of a nameserver on my local machine. I have a public domain (example.com) that I was trying to point its NS records to my private DNS but my registar does not ...
0
votes
0answers
107 views

dnsmasq returns 127.0.0.1 for lookup itself

This is a follow up to the question, Ping to dnsmasq's host resolvesto 127.0.0.1, because that answer doesn't work for me. It should work -- I found another one having the same answer: ...
0
votes
1answer
338 views

dnsmasq fails to start on boot Ubuntu 13.10

dnsmasq fails to start on boot of Ubuntu 13.10, showing the error in the syslog: dnsmasq failed to create listening socket for 192.168.0.10: Cannot assign requested address When I start it ...