DNS proxy and hosts files

Bug #724246 reported by Miika Komu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HIPL
Fix Committed
High
Artturi Karila

Bug Description

I noted a further and more severe problem with hostnames in the hosts files. This works nicely:

mkomu@bling:~/projects/hipl-bzr/hipl$ host crossroads.infrahip.net
crossroads.infrahip.net has address 1.0.0.3
crossroads.infrahip.net has IPv6 address 2001:1b:a9be:c6a6:34e5:8361:c07f:a990

..but then I get:

mkomu@bling:~/projects/hipl-bzr/hipl$ ssh -v crossroads.infrahip.net
OpenSSH_5.5p1 Debian-4ubuntu5, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to crossroads.infrahip.net [193.167.187.134] port 22.

Artturi, please have a look at the reported problems.

This bug may or may not be related to #681356.

Related branches

Miika Komu (miika-iki)
Changed in hipl:
assignee: nobody → Artturi Karila (artturi-karila)
importance: Undecided → High
Revision history for this message
Miika Komu (miika-iki) wrote :

Artturi noted that the bug is not about DNS proxy itself. I think Ubuntu Lucid and upwards handle this a bit differently in libc. At the moment, I have the following in my /etc/nsswitch.conf:

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

I can make the problem go away by swapping the "files" and "dns" entities.

Miika Komu (miika-iki)
Changed in hipl:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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