Hello, I have a problem with dns server (bind9)
Since when added domain example.com.db my file looks like this:
Code:
$TTL 12H
$ORIGIN example.com.
@ IN SOA ns1.example.com. postmaster.example.com. (
; dmn [example.com] timestamp entry BEGIN.
2010041802
; dmn [example.com] timestamp entry END.
8H ; Refresh
30M ; Retry
4W ; Expire
3H ; Minimum TTL
)
IN NS ns1.example.com.
IN NS ns2.example.com.
IN MX 10 mail.example.com.
example.com. IN A 192.168.1.2
www IN A 192.168.1.2
example.com. IN TXT "v=spf1 a mx ip4:192.168.1.2 ip4:192.168.1.2 ~all"
localhost IN A 127.0.0.1
mail IN A 192.168.1.2
ns1 IN A 192.168.1.2
ns2 IN A 192.168.1.2
; CNAME for VHCS compatibility
ns IN CNAME ns1
; CNAME for mail transfer
imap IN CNAME mail
pop IN CNAME mail
pop3 IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
; CNAME for web transfer
ftp IN CNAME www
My internet goes through a router and it is a private ip. Tell me which file handle to adjust to your actual ip there.
And another thing, how to do DNS server to update more often?