Skocz do zawartości

rebrov

Użytkownicy
  • Zawartość

    6
  • Rejestracja

  • Ostatnio

Wszystko napisane przez rebrov

  1. Kończy mi się powoli promocja od Google bezpłatny na rok, miałem szukam podobnego ale nie Amazon. Tylko do VPN aby postawić, coś polecacie ?
  2. Proszę o pomoc z domeną którą próbuję dodać do swojego serwera VPS w OVH Classic whois domena.pl DOMAIN NAME: domena.pl registrant type: organization nameservers: sdns2.ovh.net. vps111111.ovh.net. -------->>> zmieniłem na 111111 czy te DNS są proawidłowe ? cat /etc/bind/named.conf // This is the primary configuration file for the BIND DNS server named. // // Please read /usr/share/doc/bind9/README.Debian.gz for information on the // structure of BIND configuration files in Debian, *BEFORE* you customize // this configuration file. // // If you are just adding zones, please do that in /etc/bind/named.conf.local include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; cat /etc/bind/named.conf.options options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you may need to fix the firewall to allow multiple // ports to talk. See http://www.kb.cert.org/vuls/id/800113 // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. // forwarders { // 0.0.0.0; // }; //======================================================================== // If BIND logs error messages about the root key being expired, // you will need to update your keys. See https://www.isc.org/bind-keys //======================================================================== dnssec-validation auto; // Protecting server against common attacks allow-recursion { localhost; localnets;}; allow-query-cache { localhost; localnets;}; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { any; }; }; cat /etc/bind/named.conf.local // // Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; cat /etc/bind/named.conf.default-zones // prime the server with knowledge of the root servers zone "." { type hint; file "/etc/bind/db.root"; }; // be authoritative for the localhost forward and reverse zones, and for // broadcast zones as per RFC 1912 zone "localhost" { type master; file "/etc/bind/db.local"; }; zone "127.in-addr.arpa" { type master; file "/etc/bind/db.127"; }; zone "0.in-addr.arpa" { type master; file "/etc/bind/db.0"; }; zone "255.in-addr.arpa" { type master; file "/etc/bind/db.255"; };
  3. ehhh myślałem że ok jest a dalej coś nie tak dig @127.0.0.1 moja_domena.pl ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> @127.0.0.1 moja_domena.pl ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14637 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;moja_domena.pl. IN A ;; ANSWER SECTION: moja_domena.pl. 43200 IN A 11.111.11.111 ;; AUTHORITY SECTION: moja_domena.pl. 43200 IN NS ns1.moja_domena.pl. moja_domena.pl. 43200 IN NS ns2.moja_domena.pl. ;; ADDITIONAL SECTION: ns1.moja_domena.pl. 43200 IN A 11.111.11.111 ns2.moja_domena.pl. 43200 IN A 11.111.11.111 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Oct 24 13:11:10 2014 ;; MSG SIZE rcvd: 117 ping moja_domena.pl - działa dobrze wskazuje na mój serwer PING moja_domena.pl (11.111.11.111) 56(84) bytes of data. 64 bytes from moja_domena.pl (11.111.11.111): icmp_req=1 ttl=64 time=0.047 ms 64 bytes from moja_domena.pl (11.111.11.111): icmp_req=2 ttl=64 time=0.042 ms ^C problem jednak jest host moja_domena.pl Host moja_domena.pl not found: 3(NXDOMAIN)
  4. korekta /etc/bind/named.conf.options options { directory "/etc/bind"; allow-query-cache { none; }; allow-query { any; }; recursion no; version "najnowsza"; }; może komuś się przyda poszło )
  5. czy ta konfiguracja powyżej jest prawidłowa ?
  6. ok dodałem strefę do cat /etc/bind/named.conf.default-zones // prime the server with knowledge of the root servers zone "." { type hint; file "/etc/bind/db.root"; }; // be authoritative for the localhost forward and reverse zones, and for // broadcast zones as per RFC 1912 zone "localhost" { type master; file "/etc/bind/db.local"; }; zone "127.in-addr.arpa" { type master; file "/etc/bind/db.127"; }; zone "0.in-addr.arpa" { type master; file "/etc/bind/db.0"; }; zone "255.in-addr.arpa" { type master; file "/etc/bind/db.255"; }; zone "moja_domena.pl" { type master; file "moja_domena.pl"; allow-transfer { none; }; }; oraz utworzyłem moja_domena.pl cat /etc/bind/moja_domena.pl $ORIGIN moja_domena.pl. $TTL 12h @ IN SOA ns1 dnsmaster 2014102401 09h 5m 10d 1h IN NS ns1 IN NS ns2 IN A 11.111.11.111 -> IP mojego serwera * IN A 11.111.11.111 z konfiguracją jest wszystko ok named-checkzone moja_domena.pl /etc/bind/moja_domena.pl zone moja_domena.pl/IN: loaded serial 2014102401 OK lecz problem z domeną jest nadal dig @127.0.0.1 moja_domena.pl ; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> @127.0.0.1 moja_domena.pl ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 24005 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;moja-domena.pl. IN A ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Oct 24 10:19:18 2014 ;; MSG SIZE rcvd: 33
×