help me config sub DNS

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
vinhtnhien
Posts: 2
Joined: 2007/07/04 00:00:46

help me config sub DNS

Post by vinhtnhien » 2007/07/04 07:25:44

I want sub dns for my company but i don't config it

flashingcurser
Posts: 3
Joined: 2007/07/04 16:00:35
Contact:

Re: help me config sub DNS

Post by flashingcurser » 2007/07/04 16:34:52

I assume you mean a sub domain. For example: mysubdomain.mydomain.tld

What dns is hosting your domain? If you don't know ask your registrar, it likely will be the registrar. Most registrars allow you to host it yourself. To host it yourself you will need to have a reasonable understanding of dns and bind. Let the googling begin....

vinhtnhien
Posts: 2
Joined: 2007/07/04 00:00:46

Re: help me config sub DNS

Post by vinhtnhien » 2007/07/05 00:36:15

thank's all
I have been config subdns but the dns root dns and dns not conciliate. I think my config subdns fail. I can help for config subdns and dns

Subdns ------>mysubdomain.tld
/etc/named.conf
/var/named/subname.zone
/var/named/0.10.56.10.zone
Dns ----------->domain.mysubdomain.tld
/etc/named.conf
/var/named/name.zone
/var/named/0.9.56.10.zone
how to config it
because I dont'n nslookup between subdomain and domain
can help me..
thank's very much

flashingcurser
Posts: 3
Joined: 2007/07/04 16:00:35
Contact:

Re: help me config sub DNS

Post by flashingcurser » 2007/07/10 22:39:31

I'm still a little confused it should be subdomain.domain.tld, for example in: mail.flashingcurser.net the "mail" part is a subdomain. You add subdomains as either alias records or A records in the zone file for the domain.

For example :

@ IN SOA webservices1.somedomain.org. root.localhost. (
2007040501; serial
28800; refresh, seconds
7200; retry, seconds
604800; expire, seconds
86400 ); minimum, seconds

;
NS webservices1.somedomain.org.;
NS ns0.somedomain.org.;
NS ns1.somedomain.org.;
;
MX 10 webservices1.somedomain.org.;

;

somedomain.org. A 216.187.184.100 ## this is an "A" record
www A 216.187.184.100
webservices1 A 216.187.184.100
ns0 A 111.187.184.100
ns1 A 111.187.184.101
lists A 111.187.184.103

ftp CNAME www ## this is a "CNAME" record or alias
mail CNAME webservices1
smtp CNAME webservices1
pop3 CNAME webservices1

"A" records tie a domain or subdomain to an IP, "CNAME" records are subdomains tha are an alias of an "A" record. They are all sub domains of "somedomain.org"

If I set up a record with flashingcurser.mail.net of course that won't work, someone else owns "mail.net" I cannot have a subdomain of some other domain.

1 Who is hosting dns for your domain? If it is your registrar, have them add the subdomain to the dns records.
2. If you are hosting your own dns (via your registrar), show us your zone file for the domain. (Don't get freaky, anyone can find what's in there from dig anyway)


dan

Post Reply