For the zone foobar.com.
If you're using the shortened notation...
Code:
@ IN SOA big.foobar.com. hostmaster.big.foobar.com. (
serial;
and TTL;
values;
);
IN NS big.foobar.com.
IN NS bigger.foobar.com.
IN A 111.111.111.111 #big.foobar.com's IP
www IN A 111.111.111.111 #www.foobar.com's IP
mail IN A 111.111.111.222 #mail.foobar.com
Note the blanks ahead of the IN NS and IN A records. We are implying that we use the $ORIGIN (the zone name) in any lines that DON'T end in a dot. So "" implies "foobar.com" and "www" implies "www.foobar.com" etc... We could also have used
Code:
foobar.com. IN A 111.111.111.111
www.foobar.com. IN A 111.111.111.111
mail.foobar.com IN A 111.111.111.222
foobar.com and
www.foobar.com will point to 111.111.111.111, but since I left out the trailing "." on mail.foobar.com it will make "mail.foobar.com.foobar.com" point to 111.111.111.222 - a common mistake.