Tag Info

Hot answers tagged

3

Sorry I can not add comments, so I put it here. Does your Free DNS Server allow you to wildcard subdomains of your subdomains? Or add subdomains of subdomains? That way you could edit it's A record to point to your IP. I did that some time ago, but I have CPanel on a cheap Hosting. What I did for example was, register Mydomain.com, added to the CPanel, ...


3

Sounds like you're trying to achieve the exact same thing I've just setup on my new MacBook and have previously had working on my Linux dev machines. As you know, manually adding 127.0.0.1 to your DNS entries in network settings is a pain because it has to be reapplied when changing network interfaces / connecting to alternate wifi access points and also ...


2

This question is old, but it's one of the top google results for the issue, and I finally figured it out. The problem is that's not what expand-hosts does. The documentation on it is very fuzzy, but what expand-hosts does is adds the domain to host entries in /etc/hosts, not to dns queries. So for example /etc/hosts: 10.77.0.5 astatichostname ...


2

The DHCP client needs to send a name to have the name made available in the DNS. Otherwise dnsmasq can supply the name, but you have to configure that in /etc/dnsmasq.conf or /etc/hosts first. Since dnsmasq is a DNS server, you need to have a domain name. The domain-needed part enforces that. Set a domain name in your configuration also. So here's ...


2

From http://www.dd-wrt.com/wiki/index.php/OpenDNS It appears you can set the remaining dns servers to non-routable IPs (in my case 10.0.0.0 & 10.0.0.1) and it will squeeze out your ISPs DNS servers with these non-routables. So far for me it seems to be working without any delay waiting on the non-existent dns servers.


2

I finally solved the first and key problem by: copying /etc/resolv.conf to /etc/resolv.dnsmasq setting only one nameserver 127.0.0.1 line in /etc/resolv.conf in /etc/dnsmasq.conf I added resolv-file=/etc/resolv.dnsmasq This forces the server to resolve DNS names on the local DNS ... ... which is dnsmasq ... ... which uses upstream servers defined in ...


1

I found the answers to my problems. May be useful to someone else: "There are always 2 processes running for each dhcp network. The subprocess is because dnsmasq setuids to nobody to run the external script specified in --dhcp-script. This is expected behavior." src: answers.launchpad.net/nova/+question/181398 As one of the processes was nobody; during ...


1

It seems you've set the wrong interface to perform MASQUERADE for. You state you want to 'share' the internet connection of the laptop provided by a wireless connection (probably wlan0 on your machine) to a wired connection (seems to be eth0 on your machine). However, your POSTROUTING chain rule is configured for eth0 instead of wlan0 (thev value in the out ...


1

I ran into this issue myself recently. Most likely you have rebind protection set to "on" in the config. If so, you should allow RFC1918 responses for that domain: --rebind-domain-ok=/mydomain1.com/domain2.com/domain3.com/ This fixed the issue for me. Hope it helps. If not, take a look at the dnsmasq release notes, there were some regression bugs ...


1

DNSMasq gets its upstream servers from /etc/resolv.conf by default - you want to check that file whether these are correct. It should NOT point to localhost. If you really want that DNS queries on the server go through DNSMasq, then read the manpage on how to use the --resolv-file option to give it the upstream server addresses.


1

.local conflicts with the domain used by zero-config solutions including bonjour. Choose a different domain. If you are getting an IP address in the range 192.168.0.0/16 the domain on that network is likley .local. You may also get an address in the range 192.168.0.0/16 if you are unable to contact a DHCP server to get an address. EDIT: localnet is a ...


1

If you do not want clients to reach external DNS do not put their addresses in your DHCP server config. I suppose you wanted to add (eventually faster) google's DNS servers in a configuration of external DHCP Client (where DNSMASQ would take it's DNS client preferences) Extra: You have to add extra (all) DNS servers to WAN link configuration. DNSMasq will ...


1

I've been having a similar problem after my router died and I've needed to get a flashed WRT160N running. I have a box functioning as a local DNS server on 192.168.2.30 in my network. I basically want DHCP to only give out that address as a DNS server; I don't want DNS going anywhere else. I'm using "Firmware: DD-WRT v24-sp2 (12/19/10) mini" Doesn't seem ...


1

Try setting a domain with domain example.org. dnsmasq also has a hook to call a script dhcp-script=foo.sh. The arguments sent to the script are "add" or "del", then the MAC address, the IP address and finally the hostname. It should be relatively easy to quickly create a script that updates the hosts file.


1

I don't think you can, not easily. The TTL is set by Google's nameservers and they like it low for loadbalancing purposes. It's possible that increasing the cache size could help, but for super-short TTLs like Google's it probably won't. Unofficially, there are a couple of patches to provide a TTL-override functionality. I found these on the ...



Only top voted, non community-wiki answers of a minimum length are eligible