Delegate a Sub-domain Name Server

Subdomain oluşturup dns sunucuyu başka bir sunucuya paslayabiliyormuşuz.

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.
1$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ç:
1caylak@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:~$
Labels: , ,

Yorum Gönder

Emoticon
:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

Author Name

İletişim Formu

Ad

E-posta *

Mesaj *

Blogger tarafından desteklenmektedir.