In a DNS Zone file, what does the @ mean?Last Updated on Tuesday, 10 December 2013 10:10 Written by Rob Turner Hits: 4981 |
In a DNS zone file, the @ symbol is replaced with the $ORIGIN of the zone when the zone is parsed by BIND (or whatever DNS software you're using.
E.G., example.com IN SOA ns1.example.com. hostmaster.example.com. 2011051901 ; Serial 10800 ; Refresh after 3 hours 3600 ; Retry after 1 hour 604800 ; Expire after 1 week 1200 ) ; Minimum TTL of 2 hours @ IN A 192.168.1.1 www IN A 192.168.1.2 mail IN A 192.168.1.3 @ IN MX 5 mail.example.com.
in this example, anywhere you see the @ symbol, replace with the $ORIGIN of the zone. In this case, example.com.