Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- named.conf.local
- //
- // Do any local configuration here
- //
- // Consider adding the 1918 zones here, if they are not used in your
- // organization
- //include "/etc/bind/zones.rfc1918";
- # This is the zone definition. replace example.com with your domain name
- zone "tuxdomain.local" {
- type master;
- file "/etc/bind/zones/tuxdomain.local.db";
- };
- # This is the zone definition for reverse DNS. replace 0.168.192 with your network address in reverse notation - e.g my network address is 192.168.0
- zone "56.168.192.in-addr.arpa" {
- type master;
- file "/etc/bind/zones/rev.56.168.192.in-addr.arpa";
- };
- ######################################
- ;
- ; SOA
- ;
- $TTL 1h
- @ IN SOA ns1.tuxdomain.local. hostmaster.tuxdomain.local. (
- 0000000001 ; Serial number
- 1h ; Slave refresh
- 15m ; Slave retry
- 2w ; Slave expire
- 1h ; Negative Cache TTL
- )
- ;
- ; Name Server Kay?tlar?
- ;
- @ IN NS ns1.tuxdomain.local.
- ;
- ; Mail Kay?tlar?
- ;
- @ IN MX 10 mail.tuxdomain.local.
- ;
- ; A Kay?tlar?
- ;
- @ IN A 192.168.56.101
- www IN A 192.168.56.101
- ns1 IN A 192.168.56.101
- mail IN A 192.168.56.102
- ###############################
- ;
- ; SOA
- ;
- $TTL 1h
- @ IN SOA ns1.tuxdomain.local. hostmaster.tuxdomain.local. (
- 0000000001 ; Serial number
- 1h ; Slave refresh
- 15m ; Slave retry
- 2w ; Slave expire
- 1h ; Negative Cache TTL
- )
- ;
- ; Name Server Kay?tlar?
- ;
- @ IN NS ns1.tuxdomain.local.
- ;
- ; Mail Kay?tlar?
- ;
- @ IN MX 10 mail.tuxdomain.local.
- ;
- ; A Kay?tlar?
- ;
- @ IN A 192.168.56.101
- www IN A 192.168.56.101
- ns1 IN A 192.168.56.101
- mail IN A 192.168.56.102
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement