Jump to content

Zone file "@" definition


JudgementDay

Recommended Posts

It stands for the domain itself, without and subdomains. I think technically it is an alias for something defined elsewhere but I cannot remember the details at the moment.  As a general case though, it representing the domain is true.

 

 

In a zone file for mydomain.com:

@ IN A 192.168.0.1

 

would mean that 'mydomain.com' points at that address. 

 

 

Link to comment
Share on other sites

I don't really know if a record like ns1 IN NS ns1.mydomain.com is needed.  I'm not that familiar with NS records.  I've only done a few basic dns configurations, and have not done that for quite a while.

 

 

You would need an A record to define what ns1.mydomain.com resolves to. @ only covers the base domain, it does not act as a wildcard for all subdomains.  For that you would use *.

 

 

@ IN A xxx.xxx.xxx.xxx

 

would point mydomain.com to that ip, but www.mydomain.com would still be non-existent and not resolve unless you define it or define *.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.