El DNS (Domain Name Service)

Vicente González Ruiz

December 14, 2014

Contents

1 Funci’on
2 Caracter’isticas
3 DNS architecture
4 DNS Message Format
5 Zonas, dominios y servidores autorizados
6 Subzonas y delegaci’on de dominios
7 El mecanismo de resoluci’on
8 Servidores autorizados y espejo
9 Servidores primarios y secundarios
10 Alias y nombres can’onicos
11 Los registros DNS
12 Regional Internet Registries

All public Internet addresses must be registered with a Regional Internet Registry (RIR). Organizations can lease public addresses from an ISP. Only the registered holder of a public Internet address can assign that address to a network device.

1 Funci’on

2 Caracter’isticas

3 DNS architecture

PIC

4 DNS Message Format

have the same message format:

Header  
Question   -> For client queries  
Answer     -> Resource Records answering the Question  
Authority  -> Resource Records pointing toward an  
              authoritative name server (optional)  
Additional -> Resource Records holding additional  
              information (optional)

5 Zonas, dominios y servidores autorizados

6 Subzonas y delegaci’on de dominios


PIC

Figure 1: Interacci’on DNS recursiva.


PIC

Figure 2: Interacci’on DNS iterativa.

7 El mecanismo de resoluci’on

$ whois 80.58.61.250  
 
OrgName:    RIPE Network Coordination Centre  
OrgID:      RIPE  
Address:    P.O. Box 10096  
City:       Amsterdam  
StateProv:  
PostalCode: 1001EB  
Country:    NL  
 
ReferralServer: whois://whois.ripe.net:43  
 
NetRange:   80.0.0.0 - 80.255.255.255  
CIDR:       80.0.0.0/8  
NetName:    80-RIPE  
NetHandle:  NET-80-0-0-0-1  
Parent:  
NetType:    Allocated to RIPE NCC  
NameServer: NS-PRI.RIPE.NET  
NameServer: NS3.NIC.FR  
NameServer: SUNIC.SUNET.SE  
NameServer: SNS-PB.ISC.ORG  
NameServer: SEC1.APNIC.NET  
NameServer: SEC3.APNIC.NET  
NameServer: TINNIE.ARIN.NET  
Comment:    These addresses have been further assigned to users in  
Comment:    the RIPE NCC region. Contact information can be found in  
Comment:    the RIPE database at http://www.ripe.net/whois  
RegDate:  
Updated:    2009-03-25  
 
# ARIN WHOIS database, last updated 2010-05-01 20:00  
# Enter ? for additional hints on searching ARIN’s WHOIS database.  
#  
# ARIN WHOIS data and services are subject to the Terms of Use  
# available at https://www.arin.net/whois_tou.html  
% This is the RIPE Database query service.  
% The objects are in RPSL format.  
%  
% The RIPE Database is subject to Terms and Conditions.  
% See http://www.ripe.net/db/support/db-terms-conditions.pdf  
 
% Note: This output has been filtered.  
%       To receive output for a database update, use the "-B" flag.  
 
% Information related to ’80.58.61.248 - 80.58.61.251’  
 
inetnum:        80.58.61.248 - 80.58.61.251  
netname:        RIMA  
descr:          Telefonica de Espana SAU  
descr:          Red de servicios IP  
descr:          Spain  
country:        ES  
admin-c:        ATdE1-RIPE  
tech-c:         TTdE1-RIPE  
status:         ASSIGNED PA  
remarks:        INFRA-AW  
mnt-by:         MAINT-AS3352  
mnt-lower:      MAINT-AS3352  
mnt-routes:     MAINT-AS3352  
source:         RIPE # Filtered  
 
role:           Administradores Telefonica de Espana  
address:        Ronda de la Comunicaci?n s/n  
address:        Edificio Norte 1, planta 6?  
address:        28050 Madrid  
address:        SPAIN  
org:            ORG-TDE1-RIPE  
admin-c:        ADT89-RIPE  
tech-c:         TTE2-RIPE  
nic-hdl:        ATdE1-RIPE  
mnt-by:         MAINT-AS3352  
abuse-mailbox:  nemesys@telefonica.es  
source:         RIPE # Filtered  
 
role:           Tecnicos Telefonica de Espana  
address:        Ronda de la Comunicacion S/N  
address:        28050-MADRID  
address:        SPAIN  
org:            ORG-TDE1-RIPE  
admin-c:        TTE2-RIPE  
tech-c:         TTE2-RIPE  
nic-hdl:        TTdE1-RIPE  
mnt-by:         MAINT-AS3352  
abuse-mailbox:  nemesys@telefonica.es  
source:         RIPE # Filtered  
 
% Information related to ’80.58.0.0/16AS3352’  
 
route:          80.58.0.0/16  
descr:          RIMA (Red IP Multi Acceso)  
origin:         AS3352  
mnt-by:         MAINT-AS3352  
source:         RIPE # Filtered

8 Servidores autorizados y espejo

9 Servidores primarios y secundarios

10 Alias y nombres can’onicos

11 Los registros DNS

$ dig -x 150.214.156.2  
 
; <<>> DiG 9.6.0-APPLE-P2 <<>> -x 150.214.156.2  
;; global options: +cmd  
;; Got answer:  
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62738  
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0  
 
;; QUESTION SECTION:  
;2.156.214.150.in-addr.arpa. IN PTR  
 
;; ANSWER SECTION:  
2.156.214.150.in-addr.arpa. 172800 IN PTR filabres.ual.es.  
 
;; Query time: 264 msec  
;; SERVER: 80.58.61.250#53(80.58.61.250)  
;; WHEN: Sun May  2 17:51:13 2010  
;; MSG SIZE  rcvd: 73

12 Regional Internet Registries

References

[1]   James F. Kurose and Keith W. Ross. Computer Networking: A Top-Down Approach Featuring the Internet (2nd Edition). Addison Wesley, 2003.