Re: lug-bg: DNS problem
- Subject: Re: lug-bg: DNS problem
- From: "Doncho N. Gunchev" <mr700@xxxxxxxxxxxx>
- Date: Tue, 20 Jan 2004 21:24:36 +0200
- Organization: GlobalNet
On Tuesday 20 January 2004 19:20, threshold@xxxxxxx wrote:
> koi to4no conf fail iska6
> kakto sum kazal vsi4ko po mrejovite nastroiki e nared
> no eto gi i tqh
> ip 80.72.94.232
> netmask 255.255.255.240
> GW 80.72.94.225
> DNS 212.116.158.130 (nameserver in /etc/resolv.conf na visio)
>
> pri ping do GW 80.72.94.225 no problem
> pri ping do DNS 212.116.158.130 no problem
> pri ping 217.10.240.2 (ns.evrocom.net) no problem
> pri ping ns.evrocom.net unknown host
>
> sega razbira6 li za kakvo govorq
> prosto smqtam 4e dostav4ika mi ponqkakyv na4in mi reje DNS zaqvkite ot
> linux-a znam 4e zvu4i neveroqtno no e to4no taka
> 6te se radvam ako namerim re6enie po-vaprosa 6toto mrazq da sum v neta pod
> win (az zaradi linux-a go pusnax)
>
> ????? ?? ????? ?? Doncho Angelov <dangelov@xxxxxxxx>:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
...
Chestno kazano, DNS-i dal gospod, ako ne filtrirat zaqwkite kym drugi
DNS-i (koeto meko kazano e typo) ne wijdam problem da si slojish oshte
nqkoi....
Sega na wyprosa... 212.116.158.130 e ns.netvisio.net. Shtom pod window-a
wsichko ti raboti, puskash pod linux-a edin nslookup i probwash:
| [mr700@linux mr700]$ nslookup
| > server 212.116.158.130
| Default server: 212.116.158.130
| Address: 212.116.158.130#53
| > www.abv.bg
| Server: 212.116.158.130
| Address: 212.116.158.130#53
|
| Non-authoritative answer:
| Name: www.abv.bg
| Address: 194.153.145.86
| Name: www.abv.bg
| Address: 194.153.145.67
| Name: www.abv.bg
| Address: 194.153.145.80
| > www.register.bg
| Server: 212.116.158.130
| Address: 212.116.158.130#53
|
| Non-authoritative answer:
| *** Can't find www.register.bg: No answer
towa izliza pri mene. Qwno dns-a im neshto ne e tochno kakto si mislq che trqbwa
da e. Probwame znachi nqkoi drug - ns.spnet.net - 212.50.0.10:
| > server 212.50.0.10
| Default server: 212.50.0.10
| Address: 212.50.0.10#53
| > www.register.bg
| Server: 212.50.0.10
| Address: 212.50.0.10#53
|
| Non-authoritative answer:
| Name: www.register.bg
| Address: 192.92.129.35
... i chisto i prosto si addwash drug/nqkolko DNS server-a.
Po-dobroto reshenie spored mene e da si pusnesh lokalen keshirasht DNS server,
no za towa shte trqbwa da poglednesh DNS-HOWTO-to ;) i da si dobawish w conf-a:
--- cut ---
options {
directory "/var/named";
listen-on {
127.0.0.1; // shte se polzwa samo ot localhost
};
forwarders { // ei tuka izrejdash nqkolko blizki DNS-a
212.116.158.130; // na dostawchika
212.50.0.10; // ns.spnet.bg primerno
};
}
...
--- cut ---
i w /etc/resolv.conf da kajesh che nameserver-a e 127.0.0.1.
Moje da ti se naloji da dobawish optziq 'query-source address * port 53;'.
Ako nikoi ot eksperimentite ne uspee, wij kakyw firewall imash, spri go za
moment i probwai /za novi redhat like distibutzii - 'service iptables stop'/.
Kysmet.
--
Regards,
Doncho N. Gunchev
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|