DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 4th, 2001, 10:16 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 194 estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 h 15 m 59 sec
Reputation Power: 101
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
DNS Server behind firewall -- external or internal ip?

Ok, I am setting up my dns server behind an internet router by DLink. Behind the router, I have a LAN.

I have the router to allow in port 80 (httpd), 22 (sshd), and 21 (ftpd). If one of these requests are made, then the router points it to my FreeBSD machine that runs all these services. It also has Bind on it, and I will use it as my DNS. My ultimate goal here is to use it as a name server so that I can point a domain name to it, and I want to use it as a name server to point to itself.

Anyway, I am using a static ip address assigned to me by @home to get to the website externally (24.21.189.250). The internal ip on the lan is 192.168.0.103 .

My question is, which ip do I use when setting up bind. Do I use the external or the internal?

I assume that I will have to open up port 53, is this correct?

Also, this will be my primary name server, and I plan to use a friend who has bind running as the secondary.

Thanks,

Brett

Reply With Quote
  #2  
Old December 4th, 2001, 10:46 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> which ip do I use when setting up bind. Do I use the external or the internal?

You don't need to set IP to bind. However, your zone files need to point to your external IPs.

>> I will have to open up port 53, is this correct?

Yes and both TCP/UDP. Normally dns query uses UDP 53, but when packet coming in is larger than 512 bytes (non RFC-compliance), TCP 53 will be used instead. TCP is also being used when doing zone transfer.

Reply With Quote
  #3  
Old December 4th, 2001, 11:02 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 194 estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level)estrabd User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 h 15 m 59 sec
Reputation Power: 101
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
Quote:
Originally posted by freebsd
>> which ip do I use when setting up bind. Do I use the external or the internal?

You don't need to set IP to bind. However, your zone files need to point to your external IPs.

>> I will have to open up port 53, is this correct?

Yes and both TCP/UDP. Normally dns query uses UDP 53, but when packet coming in is larger than 512 bytes (non RFC-compliance), TCP 53 will be used instead. TCP is also being used when doing zone transfer.


Yes, zone, thats what I meant. Thanks.

Brett

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DNS Server behind firewall -- external or internal ip?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap