Skip to contentSkip to conversation

Iptables Problem on DNS Server

DISCUSSION Joe de Vera Jr. 4 participants 4 messages Jun 21, 2002 – Jun 22, 2002

lore
Share & tools
lore
#0 lore raw

Message: 2
From: Antony Stone <[email protected]>
Organization: Software Solutions
To: <[email protected]>
Subject: Re: Iptables problem on DNS Server
Date: Fri, 21 Jun 2002 15:31:05 +0100

Quoted 3 lines · Joe de Vera Jr.

hello...

the scenario is this.. my DNS can't resolve when i activate the firewall

on

Quoted 1 line

this machine..

What rules do you have ?

Antony.

how would i know if what kind of rules do i have?

it just so happen that when i activate my firewall the DNS doesn't work.. but when i deavtivate my firewall it turn back to normal operation...

joe

#1 lore raw
Quoted 8 lines
Quoted 5 lines

What rules do you have ?

Antony.

how would i know if what kind of rules do i have?

You could, eg, cat your firewall script, ie, if you knew where it was.

Ramin

Quoted 6 lines

it just so happen that when i activate my firewall the DNS doesn't work.. but when i deavtivate my firewall it turn back to normal operation...

joe

#2 lore raw
Quoted 6 lines · Ramin Alidousti
Quoted 3 lines
Quoted 1 line

What rules do you have ?

how would i know if what kind of rules do i have?

You could, eg, cat your firewall script, ie, if you knew where it was.

Run "iptables -L -n" and, as long as it isn't too long, send the results to this mailing list, along with any relevant IP addresses.

Signature · 1 line
FunkyJesus System Administration Team
#3 lore raw
In reply to Joe de Vera Jr.
Quoted 4 lines · Joe de Vera Jr.

From: Antony Stone <[email protected]>

Quoted 1 line · Joe de Vera Jr.
Quoted 8 lines
Quoted 2 lines

the scenario is this.. my DNS can't resolve when i activate the firewall on this machine..

What rules do you have ?

Antony.

how would i know if what kind of rules do i have?

1. What rules are being set in the firewall script you are running ?

2. What is the output of:

iptables -L -n -v
iptables -L -n -v -t nat
iptables -L -n -v -t mangle

Quoted 2 lines

it just so happen that when i activate my firewall the DNS doesn't work.. but when i deavtivate my firewall it turn back to normal operation...

That's why we need to know what rules you have in your firewall :-)

Antony.