Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- named-checkconf -p
- options {
- directory "/var/named";
- forward first;
- forwarders {
- 8.8.8.8;
- };
- };
- zone "." IN {
- type hint;
- file "caching-example/named.root";
- };
- zone "localhost" IN {
- type master;
- file "caching-example/localhost.zone";
- allow-update {
- "none";
- };
- };
- zone "0.0.127.in-addr.arpa" IN {
- type master;
- file "caching-example/named.local";
- allow-update {
- "none";
- };
- };
- zone "soundservice.gr" in {
- type master;
- file "caching-example/named.soundservice.gr";
- allow-transfer {
- "any";
- };
- };
- zone "1.168.192.in-addr.arpa" {
- type master;
- file "caching-example/192.zone";
- };
- ############################ The zone file #################################
- GNU nano 2.3.0 File: /var/named/caching-example/named.soundervice.gr
- ;
- ; Zone File for "example.com" - Internal Use ONLY
- ;
- ;
- ; Data for private bind dns server
- ;
- $TTL 1D
- @ 1D IN SOA ns1.soundservice.gr. root.soundservice.gr. (
- 2008120101 ; serial
- 3H ; refresh
- 15M ; retry
- 1W ; expiry
- 1D ) ; minimum
- ;
- @ IN NS ns1.soundservice.gr.
- @ IN A 192.168.1.66
- ns1 IN A 192.168.1.66
- www IN CNAME ns1.soundservice.gr.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement