Gentoo Archives: gentoo-user-es

From: "José Zamora" <joalzamora@×××××.net>
To: gentoo-user-es@l.g.o
Subject: [gentoo-user-es] bind ( servidor dns)
Date: Wed, 12 Apr 2006 02:06:03
Message-Id: 443C6080.1090105@cantv.net
1 Saludos.
2
3
4 Hola estoy instalando el servidor de dns bind (9.3.2), todo funciona
5 bien en la máquina sobre la cuál lo instalo, pero mi problema es el
6 siguiente a ver si me pueden dar ideas, al parecer solo puede acceder al
7 puerto 53 desde el localhost ejemplo:
8
9 #telnet localhost 53
10 Trying 127.0.0.1...
11 Connected to localhost.
12 Escape character is '^]'.
13
14
15 pero al hacer esto mismo desde otra máquina de la red no me deja
16 realizar la conexión.
17
18 Donde 172.16.0.2 es la ip de la maquina donde se instalo el dns
19
20 #telnet 172.16.0.2 53
21 Trying 172.16.0.2...
22 telnet: Unable to connect to remote host: Connection refused
23
24 No pasa por ningún firewall.
25
26 El paquete fue compilado con las siguientes banderas.
27
28 emerge -av bind
29
30 These are the packages that I would merge, in order:
31
32 Calculating dependencies ...done!
33 [ebuild R ] net-dns/bind-9.3.2 +berkdb -dlz +doc -idn +ipv6* +ldap
34 +mysql -odbc +postgres (-selinux) +ssl -threads 0 kB
35
36 Total size of downloads: 0 kB
37
38 Do you want me to merge these packages? [Yes/No]
39
40
41 Dentro del archivo de configuración tengo lo siguiente.
42
43 cat /etc/conf.d/named
44
45 # Set various named options here.
46 #
47 OPTIONS=""
48
49 # Set this to the number of processors you have.
50 #
51 CPU="1"
52
53 # If you wish to run bind in a chroot, run:
54 # emerge --config =<bind-version>
55 # and un-comment the following line.
56 # You can specify a different chroot directory but MAKE SURE it's empty.
57 # CHROOT="/chroot/dns"
58
59 # Default pid file location
60 PIDFILE="${CHROOT}/var/run/named/named.pid"
61
62
63 y dentro del archivo de configuración tengo lo siguiente.
64
65 options {
66 directory "/var/bind";
67
68 // uncomment the following lines to turn on DNS forwarding,
69 // and change the forwarding ip address(es) :
70 //forward first;
71 //forwarders {
72 // 123.123.123.123;
73 // 123.123.123.123;
74 //};
75
76 listen-on-v6 { none; };
77 listen-on { 127.0.0.1; };
78
79 // to allow only specific hosts to use the DNS server:
80 //allow-query {
81 // 127.0.0.1;
82 //};
83
84 // if you have problems and are behind a firewall:
85 //query-source address * port 53;
86 pid-file "/var/run/named/named.pid";
87 };
88
89 zone "." IN {
90 type hint;
91 file "named.ca";
92 };
93
94 zone "localhost" IN {
95 type master;
96 file "pri/localhost.zone";
97 allow-update { none; };
98 notify no;
99 };
100
101 zone "127.in-addr.arpa" IN {
102 type master;
103 file "pri/127.zone";
104 allow-update { none; };
105 notify no;
106 };
107
108
109 he provado colocando dentro de la sección opción lo siguiente:
110
111 allow-query { any; };
112
113 Pero esto no ha funcionado :-(
114
115
116 Cualquier idea será bien recibida.
117
118
119 José.
120
121
122
123
124
125 --
126 gentoo-user-es@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-es] bind ( servidor dns) Francisco Javier Lloreda Sanchez <franllo@×××××××××.es>