From owner-freebsd-questions Tue Jul 23 13: 2:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C36A737B400 for ; Tue, 23 Jul 2002 13:02:07 -0700 (PDT) Received: from labs.unixhideout.com (dsl-65-187-193-189.telocity.com [65.187.193.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 908C943E5E for ; Tue, 23 Jul 2002 13:02:02 -0700 (PDT) (envelope-from sagacious@unixhideout.com) Received: from MIKESBOX ([192.168.1.10]) by labs.unixhideout.com (8.12.5/8.12.3) with ESMTP id g6NJkCUJ002457 for ; Tue, 23 Jul 2002 15:46:12 -0400 (EDT) (envelope-from sagacious@unixhideout.com) From: "sagacious" To: Subject: RE: Need help with DNS Date: Tue, 23 Jul 2002 15:46:09 -0400 Message-ID: <000201c23281$979e2910$0a01a8c0@MIKESBOX> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C23260.108C8910" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C23260.108C8910 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Yay. I just configured my other freebsd box as a second dns server, and I told all my lan boxes to use that instead of labs, so I now have two dns servers. It was easy, I just copied the namedb configs from labs to lab2 and edited the ips. Works like a dream. Thanks guys. sagacious (Mike) Network administrator The unixhideout network http://www.unixhideout.com -----Original Message----- From: Joe & Fhe Barbish [mailto:barbish@a1poweruser.com] Sent: Tuesday, July 23, 2002 8:49 AM To: sagacious Cc: FBSDQ Subject: RE: Need help with DNS Restating your problem. Every thing works as expected for requests originating from the public internet, But any requests origination from the LAN behind your firewall gets denied. This could very well be a IPFW firewall rules problem. You have to have a IPFW rule to allow all originating LAN traffic to pass through the firewall. For each LAN Nic card you have on your GATEWAY/IPFW FBSD box, you must have an corresponding rule in the IPFW rules file like this. allow all from any to any via xl0 Where xl0 is the FBSD NIC card device name of your Lan Nic card. This rule normally is located in the beginning of the IPFW rules file. If you still need help post your IPFW rules file for review. Joe -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of sagacious Sent: Tuesday, July 23, 2002 3:21 AM To: freebsd-questions@freebsd.org Subject: Need help with DNS Hi. I changed my network setup a while ago. I had to put everything behind a firewall router due to a denial of service attack.. So now, I am specifying a "static" ip in my rc.conf, but it's a local one, 192.168.1.20, I port forwarded all the services to that ip. The problem is, you can all go to my site, http://www.unixhideout.com , but if I click that url, my router pass box pops up. I had to temporarily change ALL the links in my site, for example to I don't want to have to do this, and a lot of things do not work for me and its my site!! Well, I posted this a while ago, and a lot of people said if I ran my own DNS for my domain, I could stop this from happening.. Well I took the time to learn DNS a bit, and im running it now, and I was wondering exactly what I need to do.. In my unixhideout.com.hosts I specified this.. $ttl 38400 unixhideout.com. IN SOA labs. root.unixhideout.com. ( 1025839968 10800 3600 604800 38400 ) unixhideout.com. IN NS labs labs.unixhideout.com. IN A 65.187.193.189 root.unixhideout.com. IN RP root.unixhideout.com. admin Host-Info.unixhideout.com. IN HINFO INTEL FreeBSD mail.unixhideout.com. IN MX 10 65.187.193.189 unixhideout.com. IN A 65.187.193.189 mail.unixhideout.com. IN A 65.187.193.189 smtp.unixhideout.com. IN A 65.187.193.189 www.unixhideout.com. IN A 65.187.193.189 pop3.unixhideout.com. IN A 65.187.193.189 irc.unixhideout.com. IN A 65.187.193.189 email.unixhideout.com. IN A 65.187.193.189 ftp.unixhideout.com. IN A 65.187.193.189 Everything works.. You guys (the net) can go to my site and use all the services. But I cannot.. I tried changing all those IPS to 192.168.1.20, and then I could use unixhideout.com and you couldn't!! im losing my patience! Please tell me what I have to do for the internet AND ME to be able to use the domain I paid for! =] and when you explain pretend I'm 2 years old. Im fragile. Thanks! sagacious (Mike) Network administrator The unixhideout network http://www.unixhideout.com ------=_NextPart_000_0003_01C23260.108C8910 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

 

Yay. = I just configured my other freebsd box as a second dns server, and I told all = my lan boxes to use that instead of labs, so I now have two dns servers. It was = easy, I just copied the namedb configs from labs to lab2 and edited the ips. = Works like a dream. Thanks guys.

 

sagacious = (Mike)

Network administrator

The unixhideout network

http://www.unixhideout.com=

-----Original = Message-----
From: Joe & Fhe = Barbish [mailto:barbish@a1poweruser.com]
Sent: =
Tuesday, July 23, = 2002 8:49 AM
To: =
sagacious
Cc: FBSDQ
Subject: RE: Need help = with DNS

 

Restating your problem. Every thing = works as expected for requests originating from the public internet, But any = requests origination from the LAN behind your firewall gets denied.  This could very well be a IPFW = firewall rules problem. You have to have a IPFW rule to allow all originating LAN traffic to pass through the firewall. For each LAN Nic card you have on = your GATEWAY/IPFW FBSD box, you must have an corresponding rule in the IPFW = rules file like this.   =

allow all from any to any via xl0    Where xl0 is the FBSD NIC card device name of your Lan Nic = card.  This rule normally is located = in the beginning of the IPFW rules file. If you still need help post your IPFW = rules file for review.

 

Joe

 

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of sagacious
Sent: =
Tuesday, July = 23, 2002 3:21 AM
To: = freebsd-questions@freebsd.org
Subject: Need help with = DNS

 

Hi. I changed my network setup a while ago. I had to put everything behind a firewall router due to a denial of service attack.. = So now, I am specifying a “static” ip in my rc.conf, but it’s = a local one, 192.168.1.20, I port forwarded all the services to that ip. The = problem is, you can all go to my site, http://www.unixhideout.com, but if I click that url, my router pass box pops up… I had to = temporarily change ALL the links in my site, for example <img src=3Dh= ttp://www.unixhideout.com/img/blah.gif to <img src=3D/img/blah.gif.. and I access the box using http://192.168.1.20 I don’t want = to have to do this, and a lot of things do not work for me and its my site!! = Well, I posted this a while ago, and a lot of people said if I ran my own DNS = for my domain, I could stop this from happening.. Well I took the time to learn = DNS a bit, and im running it now, and I was wondering exactly what I need to = do.. In my unixhideout.com.hosts I specified this..

 

$ttl 38400

unixhideout.com.        IN      SOA     = labs. root.unixhideout.com. (

       &nbs= p;            = ;    1025839968

       &nbs= p;            = ;    10800

       &nbs= p;            = ;    3600

       &nbs= p;            = ;    604800

       &nbs= p;            = ;    38400 )

unixhideout.com.        IN      NS      labs

labs.unixhideout.com.   IN      A       65.187.193.189

root.unixhideout.com.   IN      RP      root.unixhideout.com. admin

Host-Info.unixhideout.com.      IN      = HINFO   INTEL = FreeBSD

mail.unixhideout.com.   IN      MX      10 65.187.193.189

unixhideout.com.        IN      A       65.187.193.189

mail.unixhideout.com.   IN      A       65.187.193.189

smtp.unixhideout.com.   IN      A       65.187.193.189

www.unixhideout.com.    IN      A       65.187.193.189

pop3.unixhideout.com.   IN      A       65.187.193.189

irc.unixhideout.com.    IN      A       65.187.193.189

email.unixhideout.com.  IN      A       65.187.193.189

ftp.unixhideout.com.    IN      A       65.187.193.189

 

Everything works.. You guys (the net) can go to my site and = use all the services. But I cannot.. I tried changing all those IPS to 192.168.1.20, and then I could use unixhideout.com and you = couldn’t!! im losing my patience! Please tell me what I have to do for the internet = AND ME to be able to use the domain I paid for! =3D] and when you explain pretend = I’m 2 years old. Im fragile. Thanks!

 

sagacious (Mike)

Network administrator

The unixhideout network

http://www.unixhideout.com=

 

------=_NextPart_000_0003_01C23260.108C8910-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message