dnsmasq doesn't work with pppoe

Bug #289277 reported by Ingmar
4
Affects Status Importance Assigned to Milestone
dnsmasq (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: dnsmasq

Hello,

I'm trying to configure dnsmasq as a dns-server for the internal network and as a forwarder for my internet connection I use with PPPoE.

After starting the machine without a cable to my dsl-modem I have a working dnsmasq for the local hostnames. But if I open the PPPoE-Session I don't get my hostnames resolved. It also doesn't work after restarting dnsmasq. But if I start dnsmasq manually witch the following command: "/usr/sbin/dnsmasq -d -u dnsmasq" it works again. Maybe there's a bug somewhere in the dnsmasq-package.

My System runs Ubuntu 8.04.1, dnsmasq is 2.41-2ubuntu2.1.

Revision history for this message
Jieter (jpwaag) wrote :

Is dnsmasq actually running? If not, you should read the is a question about ppp in the dnsmasq FAQ (http://www.thekelleys.org.uk/dnsmasq/docs/FAQ):

Q: Dnsmasq fails to start with an error like this: "dnsmasq: bind
   failed: Cannot assign requested address". What's the problem?

A: This has been seen when a system is bringing up a PPP interface at
   boot time: by the time dnsmasq start the interface has been
   created, but not brought up and assigned an address. The easiest
   solution is to use --interface flags to specify which interfaces
   dnsmasq should listen on. Since you are unlikely to want dnsmasq to
   listen on a PPP interface and offer DNS service to the world, the
   problem is solved.

Revision history for this message
Ingmar (ubuntu-ingmars-bastelecke) wrote :

dnsmasq is running but only when I start it manual as described above. ("/usr/sbin/dnsmasq -d -u dnsmasq")

I configured dnsmasq to only listen on lo and eth0:
interface=lo
interface=eth0

So it don't seem to be the problem which is described in the dnsmasq-FAQ.

Revision history for this message
Thierry Carrez (ttx) wrote :

Could you provide the corresponding /var/log/syslog outputs for:
- when you run "sudo /etc/init.d/dnsmasq restart"
- when you run "sudo /usr/sbin/dnsmasq -d -u dnsmasq"
Thanks !

Changed in dnsmasq:
status: New → Incomplete
Revision history for this message
Thierry Carrez (ttx) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in dnsmasq:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.