DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 August 13th, 2004, 01:00 PM
Gatorhardware Gatorhardware is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 10 Gatorhardware User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
BIND 8 on WinXP Pro

I have setup bind 8.4.4 on windows xp pro and have registered the name server. The domain seems to now being forwarded to the new dns server but the server is returning page not found.

I have IIS running on the same server so I have the zone file pointing to 192.168.0.1. This is how I have the two config files setup.

named.conf file: (part of it)
zone "gatorserver.com" IN {
type master;
file "gatorserver.com.zone";
};

gatorserver.com.zone: (again just part of the file)

@ SOA ns1 (
postmaster
2004081200
21600 ;
1800 ;
604800
900 ) ;

@ NS ns1 ;
@ NS ns2 ;
@ A 192.168.0.1 ;

@ MX 10 mail ;

ns1 A 192.168.0.1 ;
ns2 A 192.168.0.1 ;

mail A 192.168.0.1 ;

www A 192.168.0.1 ;

Can anyone see anything wrong??? Thank you for any help that you could give.

Reply With Quote
  #2  
Old August 13th, 2004, 02:53 PM
n03l n03l is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 24 n03l User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 12 sec
Reputation Power: 0
should your IP not be your real WAN IP?
Also. Did you setup the "host header value" in IIS to accept gatorserver.com ?

Noel

Reply With Quote
  #3  
Old August 13th, 2004, 09:28 PM
Gatorhardware Gatorhardware is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 10 Gatorhardware User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I do now. But now the domain is forwarding to the default parked page with the registrar. I guess I will wait it out.

Reply With Quote
  #4  
Old August 13th, 2004, 11:03 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 35 m 27 sec
Reputation Power: 77
you need to reload BIND after you make changes to the files.

DOS prompt:

C:\windows\system32\dns\bin>rndc reload
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #5  
Old August 14th, 2004, 08:44 AM
Gatorhardware Gatorhardware is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 10 Gatorhardware User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Okay I have reloaded and rebooted. I am still getting the page not found DNS error message. Any thoughts?

I added the config files to this post. I renamed them with the .txt so they would upload. Thank you everyone.
Attached Files
File Type: txt named.conf.txt (2.7 KB, 186 views)
File Type: txt gatorserver.com.zone.txt (323 Bytes, 207 views)

Reply With Quote
  #6  
Old August 14th, 2004, 09:15 AM
n03l n03l is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 24 n03l User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 12 sec
Reputation Power: 0
Quote:
Originally Posted by Gatorhardware
Okay I have reloaded and rebooted. I am still getting the page not found DNS error message. Any thoughts?

I added the config files to this post. I renamed them with the .txt so they would upload. Thank you everyone.


Give it some time. It can take up to 48 hrs to get it to work!

Also (I think) your Reverse IP mapping is set wrong!

It should look like this:
Code:
# Reverse IP mapping for 68.86.95.x
zone "95.86.68.in-addr.arpa" {
	type master;
	file "68.86.95.rev";
};


Noel

Reply With Quote
  #7  
Old August 14th, 2004, 09:38 AM
Gatorhardware Gatorhardware is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 10 Gatorhardware User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Okay I changed the reverse setup. Here is that file as well.
Attached Files
File Type: txt 68.86.95.rev.txt (531 Bytes, 206 views)

Reply With Quote
  #8  
Old August 14th, 2004, 09:55 AM
n03l n03l is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 24 n03l User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 12 sec
Reputation Power: 0
Quote:
Originally Posted by Gatorhardware
Okay I changed the reverse setup. Here is that file as well.


Did you also create a ns1.gatorserver.com and ns2.gatorserver.com at the registar, and point them to your WAN IP?

Noel
PS. I'm also new to this, but managed to get it all up and running in one go after reading the "Sticky: Bet you want to setup a DNS server huh?".

Reply With Quote
  #9  
Old August 14th, 2004, 10:14 AM
Gatorhardware Gatorhardware is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 10 Gatorhardware User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yes I have already setup the name servers with my registrar. If you use IE and type in ns1.gatorserver.com it pulls up the test server I am using.

PS Good job getting it in one try!

Working on some things now. Trying something else.

Reply With Quote
  #10  
Old August 14th, 2004, 10:54 AM
Gatorhardware Gatorhardware is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 10 Gatorhardware User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Okay I found something. I ran named -g, when it loads named.conf and gatorserver.com.zone it is getting an error.

Unexpected end of input

Hope this helps!



EDIT:
Okay I figured out the errors with the gatorserver.com.zone file. It now resolves. WOOHOOO!!!

But I am still getting the error with the reverse files....????

Reply With Quote
  #11  
Old August 15th, 2004, 02:10 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 35 m 27 sec
Reputation Power: 77
show me the response to the -g command. Thank goodness you managed to help yourself some. I applaud you.

Reply With Quote
  #12  
Old August 15th, 2004, 10:28 AM
Gatorhardware Gatorhardware is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 10 Gatorhardware User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for your help everyone. I figured it all out now. I had some missing "code" in the reverse file. It now all loads without and errors.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > BIND 8 on WinXP Pro


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 |