Old 6th June 2010, 12:29
axtoxic107 axtoxic107 is offline
Junior Member
Join Date: Apr 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default creating zone multiple sites


I am using bind9 and on linux debian 5..
Previously after much of the headache (in setting namesever) i was able to get one of my site online..Now i want my other site to work and i am not able to make it work.

Previously i have only one master record but for now to make my second site work i have created two master record..

; BIND data file for example.com
$TTL    604800
@       IN      SOA     ns1.example.com. info.example.com. (
                            2007011501         ; Serial
                                  7200         ; Refresh
                                   120         ; Retry
                               2419200         ; Expire
                                604800)        ; Default TTL
@       IN      NS      ns1.example.com.
@       IN      NS      ns2.example.com.
example.com.    IN      MX      10      mail.example.com.
example.com.    IN      A
ns1                     IN      A
ns2                     IN      A
www                     IN      CNAME   example.com.
mail                    IN      A
ftp                     IN      CNAME   example.com.
example.com.            IN      TXT     "v=spf1 ip4: a mx ~all"
mail                    IN      TXT     "v=spf1 a -all"
I have just replace the example.com with example2.com and save it
So now i have two files..
1. example.com.db
2. example2.com.db

Now while setting up the reverse DNS, i have notice its name was like this..
So, i thought it will not work if i create two files here so i pasted the code two time one for example.com and other for example2.com (i dont know i can do this or not)

So my revere DNS files looks like this now

$TTL 1d ;
$ORIGIN 254.168.192.IN-ADDR.ARPA.
@       IN      SOA     ns1.example.com.   info.example.com. (
        IN      NS      ns1.example.com.
        IN      NS      ns2.example.com.
1       IN      PTR     ns1.example.com.
2       IN      PTR     ns2.example.com.

$TTL 1d ;
$ORIGIN 254.168.192.IN-ADDR.ARPA.
@       IN      SOA     ns1.example2.com.   info.example2.com. (
        IN      NS      ns1.example2.com.
        IN      NS      ns2.example2.com.
1       IN      PTR     ns1.example2.com.
2       IN      PTR     ns2.example2.com.
But i am not getting to run this command

it returning to me
;; Got SERVFAIL reply from, trying next server
;; Got SERVFAIL reply from, trying next server
;; Got SERVFAIL reply from, trying next server

Please help....
Reply With Quote
Sponsored Links
Old 7th June 2010, 14:24
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Did you check out this tutorial? http://www.howtoforge.com/traditional_dns_howto
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Hardy chrooted bind9 fails to start Djamu Server Operation 35 21st April 2010 09:28
HELP DNS and DHCP I AM LOST krisarmstrong Server Operation 0 19th August 2009 00:27
DNS Zone Transfer not complete. joelee HOWTO-Related Questions 3 19th August 2007 15:55
ISPConfig 2.2.14 released till General 48 20th July 2007 00:46
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 11:48

All times are GMT +2. The time now is 20:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.