Strona 1 z 1
DNS
: 23 sierpnia 2007, 09:27
autor: butek
Przy restarcie serwera dns dostaje taki komunikat . Jak sobie z tym poradzic . named.conf jest oryginalny. Reinstall tego pakietu nic nie zmienia. Firewalla nie ma
Kod: Zaznacz cały
Stopping domain name service...: bindrndc: connect failed: 127.0.0.1#953: connection refused
failed!
Starting domain name service...: bind failed!
: 23 sierpnia 2007, 10:41
autor: Rad
Zobacz czy firewall na pewno nie blokuje ci loopbacka.
: 23 sierpnia 2007, 15:18
autor: Yampress
Kod: Zaznacz cały
rndc-confgen > /etc/rndc.conf
this generated something like:
/etc/rndc.conf
---------------------------------------------------
# Start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "gibberish-gibberish";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf
# Use with the following in named.conf, adjusting the allow list as needed:
# key "rndc-key" {
# algorithm hmac-md5;
# secret "same-gibberish-gibberish-as-above";
# };
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
--------------------------------------------------------------------------
Then, I went to /etc/named.conf and replaced the include line for rndc.key with the last part (commented lines) of the rndc.conf file (obviously uncommented).
also, I copied /etc/rndc.conf to /var/named/chroot/etc.
restarted named, rndc start and vualá!
# rndc status
number of zones: 9
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running
: 23 sierpnia 2007, 17:47
autor: butek
Poradziłem sobie z odpaleniem serwera DNS
Ponizej zamieszczam plik strefy Moja domena to
sbsmen
Serwer nazywa się
linux , stacja nazywa sie
stacjalinux11
ping stacjalinux11 na serwerze działa i zwraca IP 172.23.198.100 ale ping stacjalinux11 na stacji roboczej zwraca adres 127.0.0.2 . Ponadto
ping linux na stacji roboczej nie działa Dlaczego ? I jak to zmienić
Kod: Zaznacz cały
$TTL 3600
@ IN SOA linux.sbsmen. root.sbsmen. (
2002070205 ;; serial
86400 ;; refresh
3600 ;; retry
3600000 ;; expire
1209600 ;; minimum
);
IN NS linux.sbsmen. ;;adres naszego Primary DNS
@ IN A 172.23.198.1 ;;adres IP naszego serwera trzymającego te domenę (zwykle ten na którym aktualnie piszemy ten plik)
www IN A 172.23.198.1 ;; definicja [url]www.sbsmen[/url]
linux IN A 172.23.198.1 ;; definicja linux.sbsmen
stacjalinux11 IN A 172.23.198.100
Po czasie
Zmieniłem domenę wyszukiwania na stacji i ping ze stacji do serwera chodzi ale za nim zajarzy to chwile trwa
Natomiast nie chodzi
ssh linux Connection refused
: 23 sierpnia 2007, 23:07
autor: Yampress
: 24 sierpnia 2007, 18:09
autor: butek
Też nie dizała connection refused
[ Dodano: 2007-08-24, 19:10 ]
Sorry nie dorzeźbiłem serwera ssh na serwerz. Można zamknąć ten wątek