• No results found

APNIC elearning: Reverse DNS for IPv4 and IPv6

N/A
N/A
Protected

Academic year: 2021

Share "APNIC elearning: Reverse DNS for IPv4 and IPv6"

Copied!
11
0
0

Loading.... (view fulltext now)

Full text

(1)

Issue Date: Revision:

APNIC eLearning:

Reverse DNS for IPv4 and

IPv6

06 OCT 2015

11:00 AM AEST Brisbane (UTC+10)

07 July 2015 2.0

Introduction

•  Presenter

•  Reminder: Please take time to fill-up the survey

Sheryl Hermoso Training Officer [email protected] Specialties: Network Security IPv6 DNS/DNSSEC Internet Resource Mgmt

(2)

Overview

•  What is Reverse DNS?

•  Principles of DNS Tree

•  Creating Reverse Zones •  PTR Records

•  IPv6 Reverse Lookups

•  Managing Reverse DNS

•  Reverse Delegation Procedures

•  Whois Domain Objects

3

What is Reverse DNS?

•  Forward DNS maps names to numbers

–  svc00.apnic.net è202.12.28.131

•  Reverse DNS maps numbers to names

–  202.12.28.131 è svc00.apnic.net

(3)

Uses of Reverse DNS

•  Service denial

–  That only allow access when fully reverse delegated eg. anonymous

ftp

•  Diagnostics

–  Assisting in network troubleshooting (ex: traceroute)

•  Spam identifications

–  Reverse lookup to confirm the source of the email

–  Failed lookup adds to an email’s spam score

5

Reverse DNS Tree

Mapping numbers to names - ‘reverse DNS’ Root

.

net org com arpa

whois iana www www training ws1 ws2 apnic in-addr 202 203 204 210 64 22 22.64.202.in-addr.arpa.

(4)

Reverse DNS Tree – with IPv6

Root

.

net org com arpa

iana apnic in-addr 202 203 64 22 ip6 int IPv6 addresses RFC 3152

7

Creating Reverse Zones

•  Same as creating a forward zone file

–  SOA and initial NS records are the same as forward zone

•  Create additional PTR records

•  In addition to the forward zone files, you need the reverse zone files

–  Ex: for a reverse zone on a 203.176.189.0/24 block, create a zone

file and name it as “db.203.176.189” (make it descriptive)

(5)

Start of Authority (SOA) record

•  Serial Number – must be updated if any changes are made in the zone file

•  Refresh – how often a secondary will poll the primary server to see if the serial number for the

zone has increased

•  Retry - If a secondary was unable to contact the primary at the last refresh, wait the retry value

before trying again

•  Expire - How long a secondary will still treat its copy of the zone data as valid if it can't contact

the primary.

•  Minimum TTL - The default TTL (time-to-live) for resource records

Domain_name. CLASS SOA hostname.domain.name.mailbox.domain.name (

Serial Number Refresh Retry Expire Minimum TTL ) 9

TTL Time Values

•  The right value depends on your domain

•  Recommended time values for TLD (based on RFC 1912)

Refresh 86400 (24h)

Retry 7200 (2h)

Expire 2592000 (30d)

Min TTL 345600 (4d)

•  For other servers – optimize the values based on

–  Frequency of changes

–  Required speed of propagation

–  Reachability of the primary server

(6)

Pointer (PTR) Records

•  Create pointer (PTR) records for each IP address

or

131.28.12.202.in-addr.arpa. IN PTR svc00.apnic.net.

131 IN PTR svc00.apnic.net.

11

IPv6 Reverse Lookups – PTR records

•  Similar to the IPv4 reverse record

b.a.9.8.7.6.5.0.4.0.0.0.3.0.0.0.2.0.0.0.1.0.0.0.0.0.0.0.1.2.3.4.ip6.arpa.

IN PTR test.ip6.example.com.

•  Example: reverse name lookup for a host with address 3ffe:

8050:201:1860:42::1

$ORIGIN 0.6.8.1.1.0.2.0.0.5.0.8.e.f.f.3.ip6.arpa.

1.0.0.0.0.0.0.0.0.0.0.0.2.4.0.0 14400 IN PTR host.example.com.

(7)

Reverse Zone Example

13 @ $ORIGIN 1.168.192.in-addr.arpa. 3600 IN SOA test.company.org. (

sys\.admin.company.org. 2002021301 ; serial 1h ; refresh 30M ; retry 1W ; expiry 3600 ) ; neg. answ. ttl NS ns.company.org. NS ns2.company.org. 1 PTR gw.company.org. router.company.org. 2 PTR ns.company.org.

;auto generate: 65 PTR host65.company.org $GENERATE 65-127 $ PTR host$.company.org.

Managing Reverse DNS

•  APNIC manages reverse delegation for both IPv4 and IPv6 •  Before you register your domain objects, you need to

ensure that your reverse zones have been configured and loaded in your DNS name servers.

•  APNIC does not host your DNS name servers or configure

your reverse zone files.

•  APNIC only delegates the authority of your reverse zones to the DNS name servers you provide through your domain objects.

(8)

Reverse Delegation Requirements

•  /24 Delegations

–  Address blocks should be delegated

–  At least one name server

•  /16 Delegations

–  Same as /24 delegations

–  APNIC delegates entire zone to member

•  < /24 Delegations

–  Not supported in the RIR level

–  Read “classless in-addr.arpa delegation”

RFC 2317

15

Reverse Delegation Procedures

•  Create a whois object for the reverse zone

–  This can be done in MyAPNIC

•  Verify nameserver and domain set up before submitting to the database

•  Provide the FQDN of two nameservers

•  Provide the maintainer password

–  Used to protect objects

(9)

APNIC & LIR Responsibilities

•  APNIC

–  Manage reverse delegations of address block distributed by APNIC

–  Process requests for reverse delegation of network allocations

•  LIR and members

–  Be familiar with APNIC procedures

–  Ensure that addresses are reverse-mapped

–  Maintain nameservers for allocations

–  Keep accurate records in the database

17

Reverse Delegation Procedures

Input your IP address block here

At least one DNS server (FQDN)

Maintainer password Resources > IPv4 / IPv6 >

(10)

Whois domain object

domain: 28.12.202.in-addr.arpa

Descr: in-addr.arpa zone for 28.12.202.in-addr.arpa admin-c: NO4-AP tech-c: AIC1-AP zone-c: NO4-AP nserver: cumin.apnic.net nserver: tinnie.apnic.net nserver: tinnie.arin.net mnt-by: MAINT-APNIC-AP mnt-lower: MAINT-AP-DNS changed: [email protected] 20021023 changed: [email protected] 20040109 changed: [email protected] 20091007 changed: [email protected] 20111208 source: APNIC Reverse Zone Contacts Nameservers Maintainers 19

APNIC Helpdesk Chat

(11)

Questions

•  Please remember to fill out the

feedback form

–  https://www.surveymonkey.com/r/ apnic-20151007-eL1

•  Slide handouts will be available

after completing the survey

21

References

Related documents

Characterization Techniques Test Invasive/ Noninvasive Sample Recovered Usage Standard penetration test Invasive Yes Extensive Cone penetration test Invasive No Extensive

Connects to electronic Automatic Vending Machines with Executive, BDV001, and MDB serial protocols; connectors for a banknote reader and the 24VDC coin validator are also envisaged

The results obtained suggest that, in both Germany and Spain, there is a positive association between the importance that companies give to factors that impede their

This thesis initially presents background information and the current state-of-the-art power systems in vehicles and their transition to EVs systems, following which

Greater Auburn-Gresham Development Corporation was founded in 2000 as the result of collaboration among community leaders and the Chicago Association of Neighborhood

The present empirical research connects important developing areas of educational research and places them in the context of the development of the Palestinian

Performance Metrics for VAAI vSphere Plug-in for Array Management SIOC VASA AQDT VADP VASRM Storage DRS HARDWARE * (CONTINUED) Supported Drives FC or SAS HDD

At the most complete execration find—the Middle Kingdom fortress at Mirgissa—besides the remnants of melted wax, other trace remains indicate the use of nearly 200 broken