Results 1 to 1 of 1

Thread: dnsmasq unexpectedly stopped stopped resolving hostnames

  1. #1
    Join Date
    Oct 2012
    Beans
    1

    Unhappy dnsmasq unexpectedly stopped resolving hostnames

    Hello.

    I am running my ubuntu sever for over 2 years - Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-32-generic x86_64) as today.

    I am using dnsmasq as DHCP server and DNS forwarder.

    Today dnsmasq unexpectedly stopped resolving hostnames.

    ps aux|grep dnsmasq

    dnsmasq 3359 0.0 0.0 30052 940 ? S 19:13 0:00 /usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r /var/run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new
    cat /etc/resolv.conf

    # 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 127.0.0.1
    I am not using Network Manager, all interfaces are configured manualy:

    cat /etc/network/interfaces

    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet dhcp
    dns-nameservers 8.8.8.8 8.8.4.4

    auto eth1
    iface eth1 inet static
    address 192.168.2.1
    netmask 255.255.255.0

    auto wlan3
    iface wlan3 inet static
    address 192.168.3.1
    netmask 255.255.255.0
    When dnsmasq is running:

    nslookup wp.pl

    Server: 127.0.0.1
    Address: 127.0.0.1#53

    Non-authoritative answer:
    *** Can't find wp.pl: No answer
    When i shut down dnsmasq, all name resolution works fine.

    /etc/init.d/dnsmasq stop

    * Stopping DNS forwarder and DHCP server dnsmasq
    ...done.
    nslookup wp.pl

    Server: 79.135.160.6
    Address: 79.135.160.6#53

    Non-authoritative answer:
    Name: wp.pl
    Address: 212.77.100.101
    Thanks for any help. This is weird...
    Last edited by Yaro79; October 14th, 2012 at 07:10 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •