Detaylar burada http://www.zytrax.com/books/dns/ch9/delegate.html
Benim yaptığım.
Normal bir zone dosyasının sonuna aşağıdaki satırları ekleyip bind'e restart atamak oldu.
$TTL 3600
@ IN SOA ns1.truvalinux.tk. caylakpenguen.truvalinux.org.tr. (
2015121302 ;Serial
3600 ;Refresh
1800 ;Retry
604800 ;Expire
86400 ;Minimum TTL
)
; NS sunucularini belirtiyoruz:
IN NS ns1.truvalinux.org.tr.
IN NS ns2.truvalinux.org.tr.
; A Kayıtları
@ IN A 52.26.196.205
www IN CNAME truvalinux.tk.
; Subdomain NameServer Yonlendirmesi 21 Aralik 2015 08:50 de
; kaynak = http://www.zytrax.com/books/dns/ch9/delegate.html
$ORIGIN portal.truvalinux.tk.
@ IN NS ns01.000webhost.com.
@ IN NS ns02.000webhost.com.
Sonuç:
caylak@Rihanna:~$ dig portal.truvalinux.tk ns
; <<>> DiG 9.9.5-11ubuntu1-Ubuntu <<>> portal.truvalinux.tk ns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29390
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;portal.truvalinux.tk. IN NS
;; ANSWER SECTION:
portal.truvalinux.tk. 3600 IN NS ns02.000webhost.com.
portal.truvalinux.tk. 3600 IN NS ns01.000webhost.com.
;; Query time: 378 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Mon Dec 21 22:26:18 EET 2015
;; MSG SIZE rcvd: 101
caylak@Rihanna:~$
Yorum Gönder