1
vote
0answers
20 views

Both named and dnsmasq serving DNS on port 53?

Is this considered normal for Ubuntu 14.04 ? netstat -tulpn shows that both bind9 (named) and dnsmasq serve on port 53: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address ...
0
votes
0answers
30 views

how to setup split-dns for vpn with network-manager

I want to create a split-DNS config on a 14.04 desktop machine with both a local eth network and a VPN connection. Ie I should send DNS lookups for address ranges that are accessed via the vpn to the ...
0
votes
0answers
38 views

how to find dns servers that dnsmasq is pointing to

I cannot find a list of dns servers that dnsmasq is pointing to. nm-tool only gives the internal "DNS: 192.168.1.1" I want the upstream external dns servers that this is pointing to. I am on ...
0
votes
0answers
101 views

DNS Configuration Questions

The System: Ubuntu Server 12.04 LTS The system has the Ethernet interfaces eth0 and lo Background: So I installed and configured dnsmasq on my system. dnsmasq somehow managed to update ...
3
votes
1answer
259 views

How can I redirect *.localhost to 127.0.0.1 in Ubuntu 14.04?

I used to be able to make foo.localhost, bar.localhost, etc. resolve to 127.0.0.1 by adding address=/localhost/127.0.0.1 to /etc/dnsmasq.conf But dnsmasq.conf doesn't exist in Ubuntu 14.04, and ...
1
vote
0answers
232 views

dnsmasq unrecognized command

I'm attempting to run a script which calls service dnsmasq restart service dnsmasq restart dnsmasq: unrecognized service No matter what I call for dnsmasq, it gives me the "unrecognized service" ...
0
votes
0answers
51 views

DNS / resolve issue with certain commands

I have dnsmasq running on my gateway and have populated /etc/hosts with host information for my LAN. This works great for all my workstation they can resolve both short and long host names, e.g. ...
1
vote
0answers
100 views

dnsmasq Not Serving Up Hostnames on hostapd Network

My goal is for clients to be able to connect to my wifi access point and access services on it using a hostname. Currently clients can connect and get assigned an IP by DHCP, but they cannot resolve a ...
0
votes
0answers
193 views

How to resolve intermittent DNS Failure after updates?

Ubuntu 12.04 running happily begins experiencing intermittent DNS resolution failure after updating. Following is the history.log for same: Start-Date: 2013-10-09 07:33:11 Commandline: aptdaemon ...
0
votes
0answers
149 views

how can i rewrite url to a specific ip or another domain in dnsmasq? [duplicate]

i added two lines: address=/dev/127.0.0.1 address=/g.cn/127.0.0.1 to /etc/dnsmasq.conf file, and i have nginx listened 80 port. open urls like http://xxx.dev/, i can see nginx's default site. ...
11
votes
1answer
62k views

How do I configure my DNS settings in Ubuntu server?

According to this page it appears to be simple. However, /etc/bind does not exist on the default installation of Ubuntu 12.04.3 LTS server. So, without installing any further software, how can ...
1
vote
2answers
2k views

On Ubuntu 12.04.2, what happens if I disable dnsmasq?

I am using Ubuntu 12.04.2 LTS. If I issue the following command sudo gedit /etc/NetworkManager/NetworkManager.conf and change the line dns=dnsmasq to #dns=dnsmasq What will happen? Will I ...
8
votes
3answers
10k views

What is my DNS server?

My /etc/resolv.conf looks like this: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver ...
16
votes
2answers
1k views

Route complete TLD (*.dev for example) to 127.0.0.1

For development purposes I want all DNS requests to the .dev TLD to forward to my own PC. The hosts file does not suffice. I use multiple domains and also multiple subdomains. I would have to add a ...
1
vote
1answer
615 views

Network manager Internet sharing and dnsmasq conflict

I am sharing internet from eth1 to eth2. I do this by editing the eth2 properties and setting method to Shared to other computers. I also use dnsmasq for dns caching. Now if I enable Internet ...
2
votes
1answer
2k views

Can not restart dnsmasq due to “ configuration syntax check [fail]”

I restart dnsmasq and get $ sudo /etc/init.d/dnsmasq restart * Restarting DNS forwarder and DHCP server configuration syntax check [fail] From where and how can I troubleshooting?
1
vote
1answer
881 views

Running 12.04 as a gateway - resolvconf, dhclient and dnsmasq integration

I have a gateway server which is set up originally with Ubuntu desktop 12.04 - perhaps a mistake, I don't know, something to bear in mind. I ripped out network-manager and now want to get ...
2
votes
4answers
2k views

How do I enable DNS caching in the NetworkManager-controlled dnsmasq?

Ubuntu Desktop 12.04 uses dnsmasq to perform DNS lookups, but it is not configured to cache these results. (I have checked this by using dig to resolve names and I do not see a large improvement in ...
0
votes
2answers
2k views

why do none of my local servers resolve

When I try to ping or browse using a web browser certain domains names that we host on our local network, it does not work. Yet dig, nslookup correctly return their details. What do I need to do to ...
8
votes
3answers
3k views

DNS sometimes works, but it is very slow.

I am having DNS problems since upgrading to Ubuntu 12.04 (Precise Pangolin) from Ubuntu 10.04 (Lucid Lynx) yesterday. DNS sometimes works, but it is very slow. I have read the blog post DNS in ...
0
votes
1answer
3k views

Access a virtual host on a server in VirtualBox directly

The server: Ubuntu 10.10 Server as guest in a VirtualBox (IP 192.168.178.91). Simple Question: I want to access a virtual host named 'example.server' from outside my virtual box by simply using a ...
1
vote
1answer
694 views

resolv.conf auto reset by dnsmasq after install libvirt-bin

After I install libvirt-bin and ubuntu-virt-server, etc., my resolv.conf gets overwritten by dnsmasq about every hour. I haven't installed network-manager and resolvconf. When I search for dnsmasq I ...
1
vote
2answers
3k views

VirtualBox Ubuntu Server with DNS using dnsmasq

I just want to have a local server inside my VirtualBox that offers DNS functionality like www.example.local => 127.0.0.1. My host operating system is Ubuntu 11.10 and guest is Ubuntu 10.10. On my ...
0
votes
1answer
409 views

localhost subdomain wildcard

I'm trying to have *.localhost pointing at 127.0.0.1. I read this post which is quite recent and looks promising but dnsmasq can't bind port 53: * Starting DNS forwarder and DHCP server dnsmasq ...
0
votes
1answer
564 views

How do I replace a cable modem router with my own server as DHCP?

My ISP gave me a really crappy router-modem-combination that lacks basic features. For instance you can't assign a constant ip to the mac adress of a client PC. I run a server for my home ...