Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Adding records to BIND DNS zone files
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Adding records to BIND DNS zone files

khavkhav Member

First off , i am not really a pro as far as BIND is concerned and i would be great if someone could help me to add some records to the existing configuration.I can risk to brink my setup since i am hosting my site on it

Here are the details
I need to create a Cname + add a mail server

CNAME Name : static.mysite.com

Content:www.mysite.com

For the mail server

Mail server : mail.mysite.com

Here is my current working configuration

Forward DNS zone :
mysite.com.fwd

$ORIGIN filterbypass.me. 
$TTL 3D 

@       SOA     ns1.mysite.com. root.mysite.com. (12 4h 1h 1w 1h)
@   IN  NS      ns1.mysite.com.
@   IN  NS      ns2.mysite.com.
ns1     IN  A    192.184.84.190
ns2     IN  A    192.184.84.190 
@   IN  A    192.184.84.190
www IN  A   192.184.84.190

Reverse DNS zone :
mysite.com.rev

$ORIGIN 84.184.192.in-addr.arpa.
$TTL 3D 

@       SOA     ns1.mysite.com. root.mysite.com. (12 4h 1h 1w 1h)
@   IN  NS      ns1.mysite.com.
@   IN  NS      ns2.mysite.com.
190     IN      PTR   ns1.mysite.com.
190     IN      PTR   ns2.mysite.com. 

I would be really grateful if someone can help me out with this

Regards

Comments

  • khavkhav Member

    @ultimatehostings
    The generated bind zone isn't of the same format as mine , that's why i created this thread.If someone could just add the records in my zone files , it would definitely solve my problem

  • Where's your site hosted?

  • khavkhav Member

    @ultimatehostings

    Its a ramnode server.....btw how does it matters

    I just need to add the records in my forward and reverse dns zone ...All i need is someone to just add them for me

    For e.g i guess the CNAME record would be

    static IN CNAME www

    and for the mail server its going to be

    @ IN MX mail.mysite.com

    After i add these , should i add something in the reverse dns zone file ?
    what number should i change in this line after i update the zone file
    @ SOA ns1.mysite.com. root.mysite.com. (12 4h 1h 1w 1h)
    Most probably the 12 should be incremented by 1 but again i am not sure

    Lastly i think i just need to restart named

    I bet now you understand that i really need someone to clear these doubts....

Sign In or Register to comment.