Jump to content

2008 R2 dnscmd.exe, help please


HighDarkTemplar

Recommended Posts

**SOLVED**

The dnscmd /zoneadd command automatically performs the SOA as well as adding itself as a NS record. After that it's just used dnscmd /recordadd to write all the entries you want :-)

Hi!

I've been working with 2008 R2 server for a few days, trying to find out how to configure the DNS server. I can't figure out how to set a SOA record and exactly how the zone (zoneadd etc) works. I've used BIND9 at school, so I thought that writing a little BIND9 config file to use as an example would be a good starting point for an explanation by example.

Thanks for your attention!


$TTL 86400; 1 day
@1D IN SOA dns1.myserver.com hostmaster.dns1.myserver.com{
12345678; serial
3H; refresh
15; retry
1w; expire
1h; minimum
}

IN NS dns1.myserver.com;
IN NS dns2.myserver.com;
IN MX 10 mail1.myserver.com;

dns1 IN A 10.0.0.2
dns2 IN A 10.0.0.3
mail1 IN A 10.0.0.3

Edit: Solution

Edited by HighDarkTemplar
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...