Master-Slave-Problem (if master down, slave don't answer the queries)
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Wed May 30 02:34:56 UTC 2001
> Hi Mark & James,
>
> thanks for your answers.
> First, both nameservers are external (Internet) only, not internal
> nameservers.
> The master didn't run last night. I don't know why, the process ended by
> self! What can be the cause for that? Any idea?
Well what does the log say?
What version are you running? The current BIND 8 and BIND 9
release versions are 8.2.4 and 9.1.2. If you are running a
BIND version less than 8.2.3-REL you are running a version with
known security holes.
Mark
>
> Can you tell me please, how can I test the nameservers from the internet
> (running, answering, etc or not)?
>
> Sorry James, but I didn't understand your answer exactly. What did you meant
> with delegation or registration of nameservers? Should I register they
> somewhere (by other dns-servers or by intenic, etc)? I have installed,
> configured bind only and than I gave the addresses to my domain registration
> office. By all the domains are the entries:
>
> nameserver 1: dns1.phag.net
> nameserver 2: dns2.phag.net
>
> Is something missing?
>
> And here is the configuration file of my master:
>
> ############################################################################
> ############
> options {
> directory "/daten/named";
> query-source address * port 53;
> listen-on { 10.128.133.0/26; }; // internal address
> allow-query { any; };
> allow-transfer { any; };
>
> # the default is to fail, if the master file is not correct
> check-names master fail; // warn?
> check-names slave ignore; // warn?
> check-names response ignore;
> datasize default;
> stacksize default;
> coresize default;
> files unlimited;
> recursion yes;
>
> multiple-cnames yes; // if yes, then a name my have more
>
> forwarders {
> 194.25.0.125; // pns.dtag.de
> };
>
> also-notify {
> 10.128.133.6; // internal address of SLAVE
> };
> version "PHAG DNS";
> };
>
> logging {
> channel messages {
> syslog local1;
> severity info;
> print-category yes;
> };
> channel noinfo {
> syslog local1;
> severity warning;
> };
> channel log_file {
> file "/var/log/bind" versions 10 size 100k;
> severity debug;
> print-category yes;
> print-severity yes;
> print-time yes;
> };
> channel log_file_errors {
> file "/var/log/bind_errors" versions 10 size 100k;
> severity debug;
> print-category yes;
> print-severity yes;
> print-time yes;
> };
> category default {messages; log_file; log_file_errors; };
> category security { noinfo; log_file; log_file_errors; };
> category statistics { null; log_file; log_file_errors; };
> category xfer-out { noinfo; log_file; log_file_errors; };
> category lame-servers { null; log_file; log_file_errors; };
> category cname { null; log_file; log_file_errors; };
> category queries { null;log_file_errors; };
> category maintenance { null; log_file; log_file_errors; };
> category notify { null; log_file_errors; };
> };
>
> /* ---------- Local Zones ---------- */
> zone "." {
> type hint;
> file "local/root.hint";
> };
>
> zone "0.0.127.in-addr.arpa" {
> type master;
> file "local/127.0.0";
> };
>
>
> /* Master Zones */
> zone "hartmann-online.de" IN {
> type master;
> file "master/hartmann-online.de";
> };
> ....
> ############################################################################
> #######################
>
> Thank you for helping me,
>
> Stefan
>
>
> <Mark.Andrews at nominum.com> schrieb im Newsbeitrag
> news:9eupt6$b4b at pub3.rc.vix.com...
> >
> > How did you decide that it didn't answer the queries?
> >
> > The master is still down at present as far as I can tell
> > and I am getting answers back.
> >
> > Mark
> >
> >
> > ; <<>> DiG 8.3 <<>> aboservice.phag.net
> > ;; res options: init recurs defnam dnsrch
> > ;; got answer:
> > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> > ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
> > ;; QUERY SECTION:
> > ;; aboservice.phag.net, type = A, class = IN
> >
> > ;; ANSWER SECTION:
> > aboservice.phag.net. 1D IN A 195.243.63.225
> >
> > ;; AUTHORITY SECTION:
> > phag.net. 1D IN NS dns1.phag.net.
> > phag.net. 1D IN NS dns2.phag.net.
> >
> > ;; ADDITIONAL SECTION:
> > dns1.phag.net. 23h49m50s IN A 195.145.30.85
> > dns2.phag.net. 23h50m7s IN A 195.243.63.225
> >
> > ;; Total query time: 2379 msec
> > ;; FROM: drugs.dv.isc.org to SERVER: default -- 127.0.0.1
> > ;; WHEN: Tue May 29 10:02:00 2001
> > ;; MSG SIZE sent: 37 rcvd: 123
> >
> >
> > > Hi,
> > >
> > > I have two nameservers (now bind 8.2.3 on SuSe-Linux) in the internet
> with
> > > the domains of my company since 1 year. Yesterday was my MASTER down. I
> > > thought, that than the slave will answer the queries from the internet.
> But
> > > it didn't!
> > > Is ist a mistakes in reasoning or a configuration-error? Can somebody
> help
> > > me?
> > > Here is my config:
> > >
> > > Master: dns1.phag.net - 195.145.30.85
> > > Slave: dns2.phag.net - 195.243.63.225
> > >
> > > zB. zone: hartmann-online.de
> > > Entries by Denic/Internic:
> > > Nameserver1: dns1.phag.net
> > > Nameserver2: dns2.phag.net
> > >
> > >
> > >
> > > and here are the zone-files:
> > >
> > > ########################################################
> > > $ORIGIN hartmann-online.de.
> > > $TTL 1D
> > > @ IN SOA dns1.phag.net. dns.phag.net. (
> > > 2001051800 ; serial
> > > 1D ; refresh
> > > 2H ; retry
> > > 1W ; expire
> > > 1D ) ; default ttl
> > > ;
> > > IN NS dns1.phag.net.
> > > IN NS dns2.phag.net.
> > >
> > > IN MX 10 mail.hartmann-online.de.
> > > IN MX 20 zeus.nic.dtag.de.
> > >
> > > mail IN A 195.145.30.89
> > > www IN A 194.122.0.65
> > > telekom IN A 195.145.30.81
> > > firewall IN A 195.145.30.82
> > > order IN A 194.122.0.65
> > > ##########################################################
> > >
> > > $ORIGIN phag.net.
> > > $TTL 1D
> > > @ IN SOA dns1.phag.net. dns.phag.net. (
> > > 2001052200 ; serial
> > > 1D ; refresh
> > > 2H ; retry
> > > 1W ; expire
> > > 1D ) ; default ttl
> > > ;
> > > IN NS dns1.phag.net.
> > > IN NS dns2.phag.net.
> > >
> > > IN MX 10 mail.hartmann-online.de.
> > > IN MX 20 mforward.dtag.de.
> > > ;
> > > ; 195.145.30.*
> > > ;
> > > ns IN CNAME ulm.nic.xlink.net.
> > > mail IN CNAME mail.hartmann-online.de.
> > > jabba IN A 195.145.30.83
> > > hdhwww02 IN A 195.145.30.84
> > > ftp.hdhwww02 IN A 195.145.30.84
> > > ftp IN A 195.145.30.84
> > > qmdoc IN A 195.145.30.84
> > > www.sap IN A 195.145.30.84
> > > b-to-b.sap IN A 195.145.30.84
> > > biw-20b.sap IN A 195.145.30.84
> > > biw-21c.sap IN A 195.145.30.84
> > > r3-45b.sap IN A 195.145.30.84
> > > r3-46c.sap IN A 195.145.30.84
> > > wp-211.sap IN A 195.145.30.84
> > > dns1 IN A 195.145.30.85
> > > hdhits01 IN A 195.145.30.86
> > > hdhwww03 IN A 195.145.30.87
> > > hdhdns01 IN A 195.145.30.91
> > > news IN A 195.145.30.92
> > > ; PHAGI01:
> > > mailbridge IN A 195.145.30.93
> > > IN MX 5 mailbridge
> > > phagi01 IN A 195.145.30.93
> > > www.euro2000 IN A 195.145.30.93
> > > phagc01 IN A 195.145.30.94
> > > xwing IN A 195.145.30.95
> > > ;
> > > ; 195.243.63.*
> > > ;
> > > ba IN A 195.243.63.232
> > > bildarchiv IN CNAME ba
> > > dns2 IN A 195.243.63.225
> > > jobs IN A 195.243.63.225
> > > myshop IN A 195.243.63.225
> > > pdashop IN A 195.243.63.225
> > > www IN A 195.243.63.225
> > > hdhwww01 IN A 195.243.63.225
> > > phgroup IN A 195.243.63.225
> > > aboservice IN A 195.243.63.225
> > > joshua IN A 195.243.63.226
> > > IN MX 5 joshua
> > > phagc05 IN A 195.243.63.227
> > > hdhapp07 IN A 195.243.63.237
> > > #########################################################
> > >
> > >
> > > My best reguards
> > >
> > > Stefan Kaifer
> > > Paul Hartmann AG
> > > stefan.kaifer at hartmann-online.de
> > >
> > >
> > >
> > --
> > Mark Andrews, Nominum Inc.
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
> >
> >
>
>
>
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list