Jump to content

mDNSresponder not responding (Debian) :(


Recommended Posts

I installed mDNSresponder, along with libnss-mdns, on my fresh install of Debian 3.1.

- /etc/hostname : nomade

- /etc/nsswitch.conf : hosts: files dns mdns4

- /etc/mDNSresponder.conf : <empty>

- `ifconfig` : eth0: 192.168.1.3

- `route` : 192.168.1.XXX -> eth0, default gw 192.168.1.1 -> eth0

- `ps | grep -i mdnsresponder | wc -l` : 3

 

Network topology:

PC[eth0=192.168.1.3]<-->[192.168.1.1]MODEM[2xx.xxx.xxx.xxx]<-->Internet

 

My problem:

nomade:~# ping nomade
... (82.xxx.xxx.xxx) ...
nomade:~# ping nomade.local
... (82.xxx.xxx.xxx) ...
nomade:~# ping nomade.local.
... (82.xxx.xxx.xxx) ...

 

I don't know where this 82.xxx.xxx.xxx IP address comes from, but I would at least expect the 192.168.1.3 address to show up from the third try, if not from the second one.

 

So what's wrong with my config? I need to get this 192... address if I am to be able to ssh/http:... whatever to this box!

 

Yves.

Link to comment
Share on other sites

/etc/nsswitch.conf : hosts: files dns mdns4

Solved! :banana: I changed this to:

/etc/nsswitch.conf : hosts: files mdns4 dns

 

This is normally not the way to do: mdns should be called after dns when dns has failed. This is in part to avoid unnecessary network traffic.

Unfortunately here, dns never fails. If I issue "ping qqsdjkfghqs", it will still resolve to 82.101.8.41!

So I had to put mdns before dns...

 

I suspect this is because of Club-Internet's (my ISP) "browsing assistant": whenever you type an address that does not exist in a browser, their page appears saying that the address given does not exist and proposing approaching alternatives. The idea is not bad, really. But I wouldn't be surprised if the IP of the machine hosting this page was 82.101.8.41, and in my case it is a pain. :furious3:

 

Yves.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...