Domain Name Server DNSfor
DNS RamiAqqad Debian .
.: DNS Debian .1.IP :192.168.0
- bind :DNS Server .
:PHP:#apt-get install bind9
- named.conf :named.conf :PHP:#gedit /etc/bind/named.conf
DNS :PHP:zone "example.com" {
type master;
file "/etc/bind/db.example.com";
};
- example.com .- type master slave slave .
- :/etc/bind :
PHP:#touch db.example.com
- :
- IP :
Domain - Class - Type - Rdata
- :
SAO : +
NS :
A :
CNAME :
MX :
:PHP:;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA example.com. root.localhost. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS example.com.
@ IN A 192.168.0.1
@ IN A 127.0.0.1
example.com IP 192.168.0.1 .
- DNS resolv.conf :resolv.conf :PHP:#gedit /etc/resolv.conf
:PHP:nameserver 192.168.0.1
- DNS :DNS DNS :PHP:#/etc/init.d/bind start
:.db.local localhost IP 127.0.0.1 .
Clients :Client DNS:
- UBUNTU
![]()
:
:PHP:#gedit /etc/resolv.conf
nameserver 192.168.0.1
:
DNS .
:- dhcp server DNS Clients.
================================
.
:
- http://www.linuxac.org/forum/linuxac32/thread5036.html
- http://www.linuxac.org/forum/linuxac32/thread3209.html



:




()