Internal linux host and dns failure

Internal linux host and dns failure

Post by Joe Manojlovic » Fri, 23 Jul 1999 04:00:00



Hello everyone. I have a strange problem here that
I can't find anywhere in the howtos or dejanews. I
run a small network with 2 windows 98 hosts and one
linux host all behind a simple firewall with a
modem connection. I run diald and all of the hosts
connect successfully once dialdc attaches the network
to the outside. However, after my linux host connects
to the internet, and the internet times out, when it
connects again it cannot get dns from a remote
server. At all. When something tries to resolve a
name, like netscape, it just sits there and
eventually times out. The windows hosts have no
problems with this, only the linux host, and they are
accessing the same external dns server. I'm running
the most simple firewall imaginable:

echo 1 > /proc/sys/net/ipv4/ip_forward
$IPCHAINS -P forward DENY
$IPCHAINS -A forward -j MASQ -b -s $MYNET

The gateway is a P100 running Redhat 6. I'm running
version 0.98 of diald. Everything works beautifully
from the windows hosts (they attempt to connect,
diald dials the modem and connects, and they get
their responses). I cannot understand why the linux
host would be unable to get dns. And only after a
successful connection has been terminated and the
host attempts to connect again. Any help would be
greatly appreciated.

Joe Manojlovich

AIM Manolovich

 
 
 

1. Sendmail+DNS problem: Host Name Lookup Failure

I am trying to setup an intranet in which Email servers running on
Red Hat 6.0 are situated in different cities and are connected thru
leased lines. Each server offers ppp dial-up connectivity to hosts
running Windows95/98/NT.

Now the problem is that i think DNS is working fine as nslookup is giving
correct results. but sendmail is not relaying email. the error i get in the
/var/log/maillog file is:

...."Stat-Deferred ..Host Name Lookup Failure"

The root account gets email telling him of 'Local Configuration Error..'

Please help me out here...will installing qmail instead of sendmail resolve
the problem....??

------------------  Posted via CNET Linux Help  ------------------
                    http://www.searchlinux.com

2. Sendmail / DNS question

3. Strange failure (internal assertion failure?)

4. ***Help!*** Network - Web Developers...

5. GNU-tar to remote host and "host lookup failure"

6. another question about sed

7. multi-homed hosts in /etc/hosts, NIS and DNS

8. ATI ultra video board

9. nsswitch.conf: /etc/hosts vs. dns for FQDN (bad news: dns always wins?)

10. Matrox Mystique ands X.

11. dip -t gives "linux: Host name lookup failure".

12. Sendmail 8.7.5 and Linux 2.0.20 (host name lookup failure)

13. Host name on my SUSE Linux causing failure in starting MySQL