Dns Setup In Linux

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Dns Setup In Linux as PDF for free.

More details

  • Words: 204
  • Pages: 3
# vi /etc/hosts

IP Number

HostName.Domain Name

192.168.1.242

dns.ispsetup.edu

dns

127.0.0.1

localhost.localdomain

localhost

#vi /etc/named.conf acl all{0.0.0.0/0;}; options { directory "/var/named"; query-source address * port 53; allow-query{all;}; }; zone "." IN { type hint; file "named.ca"; }; zone "ispsetup.edu" IN { type master; file "ispsetup.edu-fz"; allow-query{all;}; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-query{none;}; }; zone "1.168.192.in-addr.arpa" IN { type master; file "ispsetup.edu-rev"; allow-query{all;}; };

Alias

#vi /var/named/ispsetup.com-fz @

IN

SOA

rob.ispsetup.edu. root.isp.com. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum

; ; Domain Declaration @ IN NS ; ; IP table rob sadi mostafa

rob.ispsetup.edu.

IN IN

; ; Canonical Entry www

A 192.9.200.161 IN A 192.9.200.153 A 192.9.200.155

IN

CNAME

rob

#vi /var/named/ispsetup.com-rev @

IN

SOA

rob.ispsetup.edu. root.ispsetup.edu. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum

@

IN

NS

161 153 155

IN IN IN

PTR PTR PTR

rob.ispsetup.edu. rob.ispsetup.edu. sadi.ispsetup.edu. mostafa.ispsetup.edu.

# vi /var/named/named.local @ IN

SOA

localhost. root.localhost. ( 20020401 ; Serial

@

IN

242

# vi

IN

NS

28800

; Refresh

14400

; Retry

3600000

; Expire

86400 )

; Minimum

dns.ispsetup.edu.

PTR

localhost.

/etc/resolv.conf search

ispsetup.edu

nameserver 192.168.1.242

Related Documents

Dns Setup In Linux
November 2019 18
Dns Linux
May 2020 6
Dns Linux
June 2020 10
Dns Linux
June 2020 5