/etc/bind/named.conf
root@komputer16-desktop:/home/komputer16/bind9# pico /etc/bind/named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };
// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
include "/etc/bind/named.conf.local";
Edit file /etc/bind/named.conf
root@komputer16-desktop:/home/komputer16/bind9# pico /etc/bind/named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
//tambahkan baris berikut
zone "coba.com" {
type master;
file "/var/cache/bind/db.coba.com";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/var/cache/bind/db.17";
};
// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };
// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
include "/etc/bind/named.conf.local";
db.local
db.local
edit file /var/cache/bind/db.coba.com
root@ubuntu:~# vim /var/cache/bind/db.coba.com
$TTL 86400
@ IN SOA coba.com. root.coba.com. (
20081122 ;Serial
604800 ;Refresh
86400 ;Retry
2419200 ;Expire
604800 ) ; Negative Cache TTL
IN NS coba.com.
IN A 192.168.1.17
Db.127
db.127
edit file /var/cache/bind/db.17
root@ubuntu:~# vim /var/cache/bind/db.17
$TTL 86400
@ IN SOA coba.com. root. coba.com. (
20081122 ;Serial
604800 ;Refresh
86400 ;Retry
2419200 ;Expire
604800) ; Negative Cache TTL
;
IN NS coba.com.
IN PTR www. coba.com.
skip to main |
skip to sidebar
:
Pages
Teknik komputer (disebut juga teknik sistem komputer) adalah suatu disiplin khusus yang mengkombinasikan teknik elektro dan ilmu komputer.
Followers
Mengenai Saya
My Calender
:
My Clock
My Facebook
Blog Archive
-
▼
2010
(20)
-
▼
Mei
(19)
- salam sejahtera teriring do
- Membuat DNS Pada
- KONFIGURASI DNS SERVER
- Konfigurasi DNS pada Ubuntu Server 7
- Konfigurasi DNS di Ubuntu 7
- Jenis Jenis Catatan DNS
- Install DNS Server Dan Keamanannya
- Instalasi DNS Server di Ubuntu menggunakan Bind9
- DNS Server Pda Redhat 9
- DNS
- conto
- Akhirnya berhasil juga setting DNS di Ubuntu Gutsy
- web server
- Membuat Virtual Host pada Apache
- Membuat Virtual Host dalam APACHE2 di Sistem Opera...
- Membangun Apache Web Server
- Manage VirtualHost
- 4_ok_virtual_host
- 3_ok_webserver
-
▼
Mei
(19)
Copyright 2010 Teknik Komputer Jaringan . Powered by Blogger
Blogger Templates created by Deluxe Templates Wordpress by thebookish
0 komentar:
Posting Komentar