Redhat 7.1 client pc dns problem...

Redhat 7.1 client pc dns problem...

Post by Anthony PIRO » Fri, 18 May 2001 22:16:00



Hi all,

 I have replaced mandrake 7.0 with redhat 7.1 on my server which do
masquerading. Under
mandrake all worked fine but now my client pc cannot make any dns lookup
(but I'm able to
ping an external ip in dot notation and I can query dns on server).
 The caching name name server seems work correctly:


;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59739
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;1.0.0.127.in-addr.arpa.                IN      PTR

;; ANSWER SECTION:
1.0.0.127.in-addr.arpa. 86400   IN      PTR     localhost.

;; AUTHORITY SECTION:
0.0.127.in-addr.arpa.   86400   IN      NS      localhost.

;; ADDITIONAL SECTION:
localhost.              86400   IN      A       127.0.0.1

;; Query time: 45 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu May 17 14:50:09 2001
;; MSG SIZE  rcvd: 93

but for other request it fails:

;; global options: printcmd
;; connection timed out; no servers could be reached

Remark: with other nameservers it's the same thing.

I suspect changes in the 2.4 kernel beeing the source of the problem. I
use ipchains and not iptables.

Any ideas ?

Thank you

-- Anthony

 
 
 

Redhat 7.1 client pc dns problem...

Post by KW » Sat, 19 May 2001 00:49:50


make sure named is running....



> Hi all,

>  I have replaced mandrake 7.0 with redhat 7.1 on my server which do
> masquerading. Under
> mandrake all worked fine but now my client pc cannot make any dns lookup
> (but I'm able to
> ping an external ip in dot notation and I can query dns on server).
>  The caching name name server seems work correctly:


> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59739 ;; flags: qr
> aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

> ;; QUESTION SECTION:
> ;1.0.0.127.in-addr.arpa.           IN      PTR

> ;; ANSWER SECTION:
> 1.0.0.127.in-addr.arpa.    86400   IN      PTR     localhost.

> ;; AUTHORITY SECTION:
> 0.0.127.in-addr.arpa.      86400   IN      NS      localhost.

> ;; ADDITIONAL SECTION:
> localhost.         86400   IN      A       127.0.0.1

> ;; Query time: 45 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Thu May 17 14:50:09 2001
> ;; MSG SIZE  rcvd: 93

> but for other request it fails:

> ;; global options: printcmd
> ;; connection timed out; no servers could be reached

> Remark: with other nameservers it's the same thing.

> I suspect changes in the 2.4 kernel beeing the source of the problem. I
> use ipchains and not iptables.

> Any ideas ?

> Thank you

> -- Anthony


 
 
 

Redhat 7.1 client pc dns problem...

Post by Anthony PIRO » Sat, 19 May 2001 02:30:16


Thanks but I found. It was the default policy of redhat firewall which
inhibits the
dns query.

> make sure named is running....