Konqueror /etc/hosts

Konqueror /etc/hosts

Post by Phil Walthe » Fri, 31 Jan 2003 05:04:19



Hi

I know that there is a problem with Konqueror and the hosts-file:
Simple: Konqueror ignores the hosts-file (its content)!

The files I checked:
/etc/nsswitch.conf
/etc/host.conf
/etc/resolv.conf

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

/etc/host.conf:
order hosts,bind

/etc/resolv.conf:
hostresorder    local bind
search cablecom.ch
nameserver 62.2.17.61

For those who solved this problem: how did you do it? :)
For those who never had this problem: which files do you suggest to check?

Thanks in advanvce!

 
 
 

Konqueror /etc/hosts

Post by Phil Walthe » Fri, 31 Jan 2003 07:22:13


Tim Wunder blubbered:


>> Hi

>> I know that there is a problem with Konqueror and the hosts-file:
>> Simple: Konqueror ignores the hosts-file (its content)!

[..]

>> For those who solved this problem: how did you do it? :)
>> For those who never had this problem: which files do you suggest to
>> check?

>> Thanks in advanvce!

> Are you using RH8?
> If so, you're seeing
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=77538 and/or
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76543

> Which appears to be a glibc problem, not a konqueror problem.

> HTH,
> Tim

Thanks! I guess you couldn't solve the problem neither..

cheers
phil

 
 
 

Konqueror /etc/hosts

Post by Phil Walthe » Mon, 03 Feb 2003 00:01:12


Quote:> There's a workaround posted to the bugzilla bug # 77538. Essentially, you
> make two entries in the /etc/hosts file like so:
> # /etc/hosts
> 192.168.0.1    foo.bar.com
> 192.168.0.1    foo.bar.com.

> According to the poster, "The first line takes care of things like ping,
> and the second takes care of telnet/ssh/etc" and, well, konqueror :-)

> I've tested it on my installation and it seems to be working!

Thanks - yes it works!

Phil

 
 
 

1. Konqueror Ignoring /etc/hosts

I have KDE 2.2.2 running on Debian 2.2(potato). My firewall does port
forwarding, and also masq's the connections going out of the network.

The firewall uses ipchains for it's firewalling tasks, which means any
requests to the external IP address from an internal address will not work.

To get around this I have entries in my hosts file which point directly to
the local IP address. Other applications (ping & ftp) appear to work fine,
ping pinging the correct IP, and ftp connects fine.

Eventually I get an error that the connection timed out, and looking at the
output from KSocket on the console I see that it was trying to connect to
the external IP address.

Has anyone else seen this behaviour?

2. Send break to Solaris

3. /etc/hosts.deny & /etc/hosts.allow ??

4. jumpstarting zones. comment on my plan? (long)

5. /etc/hosts.deny and /etc/hosts.allow

6. Is gexit() required?

7. /etc/hosts (or NIS host map): official-host-name vs nicknames

8. Newbie? IPFW question

9. Looking for sample /etc/named.conf and etc/resolv.conf and /etc/hosts

10. Help with /etc/hosts and /etc/resolv.conf

11. Sendmail 8.6.12: using /etc/hosts to send to domainless hosts

12. /etc/rc.net, /etc/host.conf and ps problems

13. comments in /etc/hosts, /etc/resolv.conf