Re: Why do zone files end in .dns?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



LOL

After the years I <invested> playing online games, you'd think I would know
all the terms.

I think the .DNS extension is arbitrary, but helps to identify what the file
is used for.

--
Greg Lindsay [MSFT]

Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.

"Harvey Colwell" <harveyc@xxxxxxxxxx> wrote in message
news:%23RwHWjA6GHA.4996@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for the quick reply.

I knew that you could change the name in the wizard and from the
properties. But why the .DNS suffix.

I've always assumed that it would be there. I've scripted the ability to
transfer the master DNS server role by copying the appropriate registry
keys and all the zone files from one DNS server to another. In the script
I hard coded the .DNS as a regular expression pattern for identifying only
zone files.

I've also scripted the creation of a default zone file for customer
domains that we host. That way, when I run the wizard, I choose to open an
existing file. Of course, my script names the file in the format
mydomain.com.dns, so that it matches the name the wizard expects.

Harvey Colwell

----------
BTW: TIA means Thanks In Advance.

Oh, and BTW means By The Way.

;) - wink




"Greg Lindsay [MSFT]" <greg.lindsay@xxxxxxxxxxxxx> wrote in message
news:Osc5%23KA6GHA.2464@xxxxxxxxxxxxxxxxxxxxxxx
Hi TIA

Assuming it isn't active directory integrated, you can name the zone file
anything you want. .dns is just a default.

Try creating a new zone like "example.com". Make sure you do not select
active directory integrated. The New Zone Wizard will ask you for the
name of the zone file right after it requests the zone name. Now is your
chance to name it something else, or to use an existing zone file.

After you create the zone, view the properties. You can still change the
zone file name to something else.

For zones that are active directory integrated, you aren't given the
choice of changing the zone file name during zone creation, and there is
no option to change it in the properties window. In this case, I believe
you need to leave the .dns extension alone so that active directory can
find the file.

--
Greg Lindsay [MSFT]

Disclaimer: This posting is provided "AS IS" with no warranties, and
confers no rights.

"Harvey Colwell" <harveyc@xxxxxxxxxx> wrote in message
news:Oq7nKX$5GHA.2464@xxxxxxxxxxxxxxxxxxxxxxx
I configured my first DNS server over 8 years ago. I'm looked at as a DNS
guru in these parts, so I was very surprised when I couldn't answer the
above question.

I've checked out RFC 1034 and 1035, checked both deja and google, but
couldn't find the answer.

Does anyone know if this is just a Microsoft thing, or is it required or
just a convention.

TIA









.



Relevant Pages

  • Re: Why do zone files end in .dns?
    ... I knew that you could change the name in the wizard and from the ... But why the .DNS suffix. ... Jerry Lee Lewis performed a song: Hadacohl Blues ... Assuming it isn't active directory integrated, you can name the zone file ...
    (microsoft.public.windows.server.dns)
  • Re: Adding a Printer
    ... You'll have to enter them manually, or script the entries if you have them ... I actuall have a jscript that reads a csv file exported from the DNS ... and puts the records into zone file format. ... you are with Excel and jscript, and how many printers you have. ...
    (microsoft.public.win2000.dns)
  • Re: Why do zone files end in .dns?
    ... I knew that you could change the name in the wizard and from the properties. ... But why the .DNS suffix. ... I've also scripted the creation of a default zone file for customer domains ... Of course, my script names the file in the format mydomain.com.dns, so ...
    (microsoft.public.windows.server.dns)
  • Re: Some problem with DNS GUI Tool
    ... There is one tool that you can use called Webmin that manages the DNS zone's very well ... Webmin also manages a lot of other Daemons and services aswell as system files, users, etc... ... >It seems to make a zone file completely both wrong and different from ... >confidenziale rivolte esclusivamente al destinatario sopra indicato. ...
    (RedHat)
  • Re: BIND Questions
    ... >> Most ISP's will provide a service that will allow you to register a domain ... >> playing with DNS to get a better understanding of how it works and then ... Zone files are used when you setup your own DNS server and MZ records used for mailserver are put in the zone file. ...
    (RedHat)