I'm using Mac OS X Lion's BIND to set up a local domain "
webapp.local". I've already set up a VirtualHost in Apache and added "webapp.local" to the host file, which works.
But wanted others on my network to access it.
So I got as far as creating the file
webapp.local. IN SOA webapp.local. root.webapp.local. ( 20100601 15 3600 3000000 86400 ) IN NS webapp.local. IN A 127.0.0.1 *.webapp.local. IN A 127.0.0.1
# named-checkconf /var/named/webapp.zone in Terminal brings up some errors
/var/named/webapp.zone:1: unknown option 'webapp.local.' /var/named/webapp.zone:10: unexpected token near end of file
Using nano keeps adding a new line to the end of the file, which might explain the second error message, though I'm not certain.
Also, adding any comments with
; would return the error message
unknown option 'comment'