New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
nsd3 zone file example
hiya
can anyone provide me with an example zone file when using nsd3? i thought i had it working right but it seems my non-www version of the domain isn't resolving. i've created an a record for the non-www version however it still seems to not work
below is what i have in the forward zone:
$ORIGIN domain.com. ; default zone domain
$TTL 86400 ; default time to live
@ IN SOA ns1.domain.com. admin.domain.com. (
2012010105 ; serial number
86400 ; Refresh
7200 ; Retry
1209600 ; Expire
86400 ; Min TTL
)
NS ns1.domain.com.
NS ns2.domain.com.
MX 10 mail.domain.com.
ns1 IN A xx.xx.xx.xx
ns2 IN A xx.xx.xx.xx
domain.com IN A xx.xx.xx.xx
www IN A xx.xx.xx.xx
thanks!
Comments
It follows the BIND syntax, isn't it?
Please see /etc/nsd3/example.com.zone for an example zone.
just add "@ IN A (non-www ip)"
right now you are resolving domain.com.domain.com
ah ha! thanks guys
whats the * IN A xx.xx.xx.xx for?
wildcard, so saionetduhaonsetuh.domain.com will resolve
should be
or it resolves as domain.com.domain.com
cool, it's working perfect now, thanks everyone!