Code: Select all
user@Chronos.local:/# cat /etc/namedb/named.conf
options {
directory "/etc/namedb";
forward only;
forwarders {
192.168.0.100;
};
};
Code: Select all
user@Chronos.local:/> ping -c 1 www.google.de
ping: cannot resolve www.google.de: Host name lookup failure
user@Chronos.local:/> ping -c 1 www.prolinux.de
PING www.prolinux.de (213.239.211.178): 56 data bytes
64 bytes from 213.239.211.178: icmp_seq=0 ttl=53 time=99.468 ms
--- www.prolinux.de ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 99.468/99.468/99.468/0.000 ms
Code: Select all
user@Chronos.local:/# ping www.google.de
PING www.google.com (66.249.85.99): 56 data bytes
36 bytes from 192.168.0.100: Destination Net Unreachable
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst
4 5 00 5400 0c29 0 0000 3f 01 163a 192.168.0.66 66.249.85.99
Code: Select all
user@Chronos.local:> ping www.google.de
PING www.google.com (66.249.85.99): 56 data bytes
64 bytes from 66.249.85.99: icmp_seq=0 ttl=247 time=70.598 ms
64 bytes from 66.249.85.99: icmp_seq=1 ttl=247 time=70.245 ms
64 bytes from 66.249.85.99: icmp_seq=2 ttl=247 time=69.324 ms
64 bytes from 66.249.85.99: icmp_seq=3 ttl=247 time=69.941 ms
64 bytes from 66.249.85.99: icmp_seq=4 ttl=247 time=69.450 ms
64 bytes from 66.249.85.99: icmp_seq=5 ttl=247 time=68.414 ms
64 bytes from 66.249.85.99: icmp_seq=6 ttl=247 time=69.353 ms
64 bytes from 66.249.85.99: icmp_seq=7 ttl=247 time=68.535 ms
^C
--- www.google.com ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max/stddev = 68.414/69.483/70.598/0.717 ms
Code: Select all
user@Chronos.local:/# /usr/sbin/named -v
named 8.3.7-REL Tue May 25 21:15:41 GMT 2004
root@perseus.cse.buffalo.edu:/usr/obj/usr/src/usr.sbin/named
Obwohl der Nameserver ja an sich läuft, weiß ich nicht,
1. ob er die Einträge tatsächlich abspeichert,
2. warum er teilweise die Auflösung erst nach einigen Versuchen hinbekommt.
Ich habe davon nicht viel Ahnung und wollte es eher aus Spaß mal ausprobieren, mir liegt aber schon sehr viel daran, dass es vernünftig läuft. Wenn jemand ein paar Informationen hätte, würde ich mich freuen.