<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://wiki.cifprodolfoucha.es/index.php?action=history&amp;feed=atom&amp;title=Instalaci%C3%B3n_e_configuraci%C3%B3n_dun_servidor_DNS_en_Ubuntu</id>
	<title>Instalación e configuración dun servidor DNS en Ubuntu - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cifprodolfoucha.es/index.php?action=history&amp;feed=atom&amp;title=Instalaci%C3%B3n_e_configuraci%C3%B3n_dun_servidor_DNS_en_Ubuntu"/>
	<link rel="alternate" type="text/html" href="https://wiki.cifprodolfoucha.es/index.php?title=Instalaci%C3%B3n_e_configuraci%C3%B3n_dun_servidor_DNS_en_Ubuntu&amp;action=history"/>
	<updated>2026-12-01T05:59:51Z</updated>
	<subtitle>Historial de revisiones de esta página en el wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.cifprodolfoucha.es/index.php?title=Instalaci%C3%B3n_e_configuraci%C3%B3n_dun_servidor_DNS_en_Ubuntu&amp;diff=23161&amp;oldid=prev</id>
		<title>Joselv: /* Comprobación do funcionamento do servizo DNS */</title>
		<link rel="alternate" type="text/html" href="https://wiki.cifprodolfoucha.es/index.php?title=Instalaci%C3%B3n_e_configuraci%C3%B3n_dun_servidor_DNS_en_Ubuntu&amp;diff=23161&amp;oldid=prev"/>
		<updated>2025-01-14T09:57:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Comprobación do funcionamento do servizo DNS&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 09:57 14 ene 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l70&quot; &gt;Línea 70:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 70:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|named-checkzone nombre_dominio fichero_de_zona&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|named-checkzone nombre_dominio fichero_de_zona&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Referencias =&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div style=&amp;quot;column-count:2;-moz-column-count:2;-webkit-column-count:2&amp;quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://manuais.iessanclemente.net/index.php/Instalaci%C3%B3n_de_DNS_Server_en_Debian Instalación de DNS Server en Debian]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://manuais.iessanclemente.net/index.php/Servidor_DNS_bind Servidor DNS bind]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://ikastaroak.birt.eus/edu/argitalpen/backupa/20200331/1920k/es/ASIR/SRI/SRI01/es_ASIR_SRI01_Contenidos/website_98_herramientas_grficas_de_configuracin.html Configuración de bind mediante webmin]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://fp.josedomingo.org/serviciosgs/u04/practica_dns_2020.html Servidor dnsmasq e bind9]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://www.techrepublic.com/pictures/nslookup-screenshots-troubleshooting-dns-problems/ nslookup]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://www.powerdns.com/software.html PowerDNS]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Joselv</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.cifprodolfoucha.es/index.php?title=Instalaci%C3%B3n_e_configuraci%C3%B3n_dun_servidor_DNS_en_Ubuntu&amp;diff=23147&amp;oldid=prev</id>
		<title>Joselv: Página creada con «== Instalación do servizo DNS == Nun terminal con usuario root ou con privilexios levaremos a cabo os seguintes pasos:  1. Actualizaremos o repositorio:  sudo apt update 2…»</title>
		<link rel="alternate" type="text/html" href="https://wiki.cifprodolfoucha.es/index.php?title=Instalaci%C3%B3n_e_configuraci%C3%B3n_dun_servidor_DNS_en_Ubuntu&amp;diff=23147&amp;oldid=prev"/>
		<updated>2025-01-14T09:49:00Z</updated>

		<summary type="html">&lt;p&gt;Página creada con «== Instalación do servizo DNS == Nun terminal con usuario root ou con privilexios levaremos a cabo os seguintes pasos:  1. Actualizaremos o repositorio:  sudo apt update 2…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Instalación do servizo DNS ==&lt;br /&gt;
Nun terminal con usuario root ou con privilexios levaremos a cabo os seguintes pasos:&lt;br /&gt;
&lt;br /&gt;
1. Actualizaremos o repositorio:&lt;br /&gt;
 sudo apt update&lt;br /&gt;
2. Instalaremos as versións máis recentes:&lt;br /&gt;
 sudo apt upgrade&lt;br /&gt;
3. Instalaremos o servidor DNS mediante os paquetes bind9 e bind9util:&lt;br /&gt;
 apt install bind9 bind9util&lt;br /&gt;
&lt;br /&gt;
== Configuración do servizo DNS ==&lt;br /&gt;
1. Realizaremos a configuración principal no ficheiro  /etc/bind/named.conf.options:&lt;br /&gt;
 sudo nano /etc/bind/named.conf.options&lt;br /&gt;
&lt;br /&gt;
[[File:DNS_etc_bind_named_conf_option.PNG|center|500px|/etc/bind/named.conf.option]]&lt;br /&gt;
&lt;br /&gt;
2. Realizaremos a configuración das peticiones recibidas no dominio no ficheiro /etc/bind/named.conf.local:&lt;br /&gt;
 sudo nano /etc/bind/named.conf.local&lt;br /&gt;
&lt;br /&gt;
[[File:DNS_etc_bind_named_conf_local.PNG|center|500px|/etc/bind/named.conf.local]]&lt;br /&gt;
&lt;br /&gt;
==  Creación de ficheiros de configuración directa e inversa ==&lt;br /&gt;
Crearemos os ficheiros co mesmo nome e ruta que especificamos no ficheiro de configuración /etc/bind/named.conf.local.&lt;br /&gt;
&lt;br /&gt;
1. Para a configuración directa:&lt;br /&gt;
 sudo nano /etc/bind/asirfp.db&lt;br /&gt;
&lt;br /&gt;
[[File:DNS_etc_bind_asirfp_db.PNG|center|500px|asirfp.db]]&lt;br /&gt;
&lt;br /&gt;
2. Para a configuración inversa:&lt;br /&gt;
 sudo nano /etc/bind/asirfp.rev&lt;br /&gt;
&lt;br /&gt;
[[File:DNS_etc_bind_asirfp_rev.png|center|500px|/etc/bind/asirfp.rev]]&lt;br /&gt;
&lt;br /&gt;
3. Reiniciamos o servidor:&lt;br /&gt;
 /etc/init.d/bind9 restart&lt;br /&gt;
&lt;br /&gt;
== Configuración nos clientes ==&lt;br /&gt;
Para indicarlle o servidor DNS que debe usar o noso equipo temos que borrar e configurar un novo fichero /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
1. Borramos &lt;br /&gt;
 sudo rm /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
2. Creamos un novo: &lt;br /&gt;
 sudo touch /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
3. Damos permisos:&lt;br /&gt;
 chmod 777 /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
4. Editamos:&lt;br /&gt;
 nano /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
[[File:DNS_resolv_conf.png|center|400px| /etc/resolv.conf]]&lt;br /&gt;
&lt;br /&gt;
== Comprobación do funcionamento do servizo DNS ==&lt;br /&gt;
Coas utilidades dig, host ou nslookup comprobamos a correcta resolución de nomes.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Comándos que permiten o chequeo sintáctico&lt;br /&gt;
! Comando&lt;br /&gt;
! Descripción&lt;br /&gt;
!Sintaxis&lt;br /&gt;
|-&lt;br /&gt;
! named-checkconf&lt;br /&gt;
| Detecta posibles erros sintácticos nos ficheiros de configuración named.&lt;br /&gt;
| named-checkconf fichero_configuración&lt;br /&gt;
|-&lt;br /&gt;
! named-checkzone&lt;br /&gt;
|Detecta posibles erros sintácticos nos ficheiros de configuración de zona.&lt;br /&gt;
|named-checkzone nombre_dominio fichero_de_zona&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Joselv</name></author>
		
	</entry>
</feed>