Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward zóna
- $TTL 86400
- @ IN SOA pri.ostechnix.lan. root.ostechnix.lan. (
- 2011071001 ;Serial
- 3600 ;Refresh
- 1800 ;Retry
- 604800 ;Expire
- 86400 ;Minimum TTL
- )
- @ IN NS pri.ostechnix.lan.
- @ IN NS sec.ostechnix.lan.
- @ IN A 192.168.1.200
- @ IN A 192.168.1.201
- @ IN A 192.168.1.202
- pri IN A 192.168.1.200
- sec IN A 192.168.1.201
- client IN A 192.168.1.202
- reverse zóna
- $TTL 86400
- @ IN SOA pri.ostechnix.lan. root.ostechnix.lan. (
- 2011071002 ;Serial
- 3600 ;Refresh
- 1800 ;Retry
- 604800 ;Expire
- 86400 ;Minimum TTL
- )
- @ IN NS pri.ostechnix.lan.
- @ IN NS sec.ostechnix.lan.
- @ IN PTR ostechnix.lan.
- pri IN A 192.168.1.200
- sec IN A 192.168.1.201
- client IN A 192.168.1.202
- 200 IN PTR pri.ostechnix.lan.
- 201 IN PTR sec.ostechnix.lan.
- 202 IN PTR client.ostechnix.lan.
- ezután jogosultság állítás kell a mappára:
- sudo chmod -R 755 /etc/bind
- sudo chown -R bind:bind /etc/bind
- tesztelés
- sudo named-checkconf /etc/bind/named.conf
- sudo named-checkconf /etc/bind/named.conf.local
- ha nem látsz semmit, akkor műküdik
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement