Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subdomain setup

Status
Not open for further replies.
Jan 10, 2003
34
NG
Please someone give me clear steps to setup a subdomain on bind.

This has not worked on mydomain.com
In /var/named is created subdomain.mydomain.com zone file
In the zone file i simply have MX records for directing mail for the subdomain to my main mail server for which i want to receive the mail into a mailbox using virtusertable.

So in /etc/named.conf I went on to put the zone entry pointing to the zone file.

I send mail from the dns server, the mail is correctly directed to the mail server, but the mail server says subdomain.mydomain.com is an unknow host.

Help: clear steps to setup a subdomain. I gues I do not have to register it. Its under my domain.

regards
Chris
 
Under the main domain just put a MX record in as ...

subdomain.mydomain.com IN MX mailserver.address.com

mailserver.address.com IN A aaa.bbb.ccc.ddd

Chris.


**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
I did that and if I do an nslookup with set q=mx I get

*** dnsserver.mydoman.com can't find subdmain.mydomain.com: Server failed

Did i miss something?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top