WebsiteGear Logo Log In
New User? Sign Up
About | Contact | FAQ
Home Discussion Forums Web Hosting Domain Names & DNS
New Post New Post | Report Abuse Report Abuse


Configuring BIND on windows 2003 server VPS
Post by alun65 on Apr 25, 2008 6:20:58 AM CST


Hi Guys,

I have a Windows 2003 Virtual Private Server and I'm trying to configure it with a BIND DNS Server so my web hosts can point a domain name to it. I've installed BIND9.4.2 on the server using some good instructions I found here:

http://alex.charrett.com/technical/bind-on-windows.html

I've followed all the instructions of the guide, and have configured and started BIND server service on the box.

I think all the configuration went well and the file named.conf (I hope) is OK, but there was a single instruction from the above guide I had difficulty understanding and wasn't able to complete when editing the db.greatScottsRobin.co.uk.txt file, the instruction was in the section "Configure your zone", the instruction was as follows:

>>Substitute nameserver-hostname for the hostname of your nameserver.

What follows is the entire contents of db.greatScottsRobin.co.uk.txt as it currently stands:

*** START FILE db.greatscottsrobin.co.uk.txt *****

$TTL 6h
@ IN SOA your-nameserver.greatscottsrobin.co.uk.
hostmaster.greatScottsRobin.co.uk. (
2008042301
10800
3600
604800
86400 )


@ NS your-nameserver.greatscottsrobin.co.uk.


your-nameserver IN A 195.216.193.223


*** END FILE db.greatscottsrobin.co.uk.txt *****

I think the instruction is to replace the reference 'your-nameserver' in the file but I'm not sure what the hostname of the nameserver is?

My Web Host company tells me that we need to point a domain name at the name server:

ns4.ukhosts4u.com

And I need to provide them with the name servers (yes, they asked for multiple nameservers, not sure what they mean do they need a secondary nameserver) for them to make this change.

My Questions
-------------------

1.) Could this be the name server (ns4.ukhosts4u.com) be what I need to replace the reference 'your-nameserver' in the zone file (above)? After doing some ready on the I think the other possiblilty is that the name of my name server
your-nameserver.greatscottsrobin.co.uk.

2.) Also there is a reference to 'hostmaster' in
db.greatScottsRobin.co.uk.txt does this need to be replaced with any different configuration?

3.) How do I go about giving my Web Hosts the name servers they asked for? ( My networking knowledge is very limited, and I'm more of a developer so I'm struggling a bit with this ) Do I need to set up secondary name servers?

Here's the named.conf file for completeness

*** START FILE named.conf *****

options {
directory "c:\named\zones";
allow-transfer { none; };
recursion no;
};


zone "greatscottsrobin.co.uk" IN {
type master;
file "db.greatscottsrobin.co.uk.txt";
allow-transfer { none; };
};


key "rndc-key" {
algorithm hmac-md5;
secret "***************"
};

controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};

*** END FILE named.conf *****


I'd be very grateful for any help with this, as I think configuration is nearly there.

Cheers
Alun


Submit To Slashdot Slashdot | Submit To Digg.com Digg | Save in del.icio.us Del.icio.us | Submit To Reddit Reddit
REPLIES & COMMENTS Post a Reply
LATEST FORUM POSTINGS
Nav How to develop a Flxexible Web Design | Mar 5, 2013
Nav Website comments on updates / improvements please | Feb 28, 2013
Nav WebsiteGear Introduces Unlimited Web Survey Plan | Dec 4, 2012
Nav HTML TAGGING PROJECT CONVERSION 100% QUALITY | Nov 28, 2012
Nav Backup Your Files, Photos, Music online For Free | Nov 25, 2012
Nav 5 common link building mistakes | Aug 27, 2011
Nav How to convert psd into html? | Jan 15, 2011
Nav How to choose the right PHP Framework for web deve | Jan 12, 2011
FORUM SEARCH

FEATURED NEWS | POPULAR NEWS
Submit News | View More News View More News