PDA

View Full Version : DNS Guru needed desparately


btodd
07-30-2003, 11:45 AM
Well I have a new web hosting account. I love these guys, because they have everything I need, and give me everything I need, but at the cost of I must configure it myself. I am trying to create a subdomain, and they use raw zone access for dns administration. I have no idea how to configure the zone file. It looks like this:

$TTL 3600
@ IN SOA ns1.vectori.net. hostmaster.vectori.net. (
2003072600 ; serial
3H ; Refresh after 3 hours
30M ; Retry after 1 hour
3W ; Expire after 1 week
15M ) ; Minimum TTL of 1 hour

$include /etc/namedb/tmp/ns.tmp
$include /etc/namedb/tmp/mx.tmp
www 43200 IN CNAME luna.vectori.net.
@ 43200 IN A 64.105.196.221

my domain is btodd.net, but I don't even see it here. they have told me I am free to edit this file as i please, all I want to do is create a subdomain. Please help...
:confused:

Paranoid2000
07-30-2003, 12:28 PM
Welcome to the forums, btodd,

Yes, this is well off-topic. A Google search on DNS configuration should point you to http://www.charvolant.org/~doug/network/html/node10.html (http://www.charvolant.org/~doug/network/html/node10.html) which explains these entries in more detail.

From that, I would suggest that you need to add:

btodd.net IN A <your IP address>

I would also recommend that you need an entry for email like:

btodd.net IN MX <your mail server address>

and a reverse lookup entry (to allow others to find your domain name from your IP address):

<last digit of IP address> IN PTR btodd.net

This is assuming that btodd.net only consists of one system (and one IP address). Subdomains would need to be defined separately as shown in the link. Obviously, check any file with your ISP before using it - this is not something I deal with much myself so cannot guarantee that the above will work.

btodd
07-30-2003, 12:41 PM
Great thanks a lot! What is really confusing me is that my domain is working and so is my email, even though they don't appear in the zone file.

Paranoid2000
07-30-2003, 12:47 PM
They could be listed in the ns.tmp and mx.tmp files $included on the zone file.

btodd
07-30-2003, 01:03 PM
I think you have just cured my 3-day headache! :D