Need some help
Hi, I am Vignesh from Bangalore and i was developing an application using Open source BIND wherein i needed to know where exactly, i mean in which function do we get the IP addresses looked up from the Domain names inputted, so as to perform the required functions on those ip addresses and return my result back to the client. Any sort of help will be appreciated. Regards, Vignesh. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: How to Setup a Name Servers visible on Internet?
On Tue, Jun 14, 2011 at 08:11:53AM +0200, eric...@kom.za.net wrote a message of 86 lines which said: > root@ns1:~# named-checkzone metropolitanbuntu.co.za > /var/cache/bind/metropolitanbntu.co.za.inv > /var/cache/bind/metropolitanbntu.co.za.inv:3: ignoring out-of-zone data > (0.0.10.in-addr.arpa) > /var/cache/bind/metropolitanbntu.co.za.inv:13: ignoring out-of-zone > data > (41.134.194.90) What is at line 3? At line 13? As BIND's message says, these data are outside of the zone. > Its doesn't point on my public IP who is 41.134.194.90 but on > 10.0.0.80! You did not show us the content of the zone file so everything is possible. What is in the zone file? Also, never debug DNS with ping (because it involves other actors such as the stub resolver and its configuration in /etc/resolv.conf). Use dig. > My ISP controlling the Cisco router remotely! so I can looking! You can or you cannot? And, anyway, this is not router's business, but a DNS issue. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Need some help
On Tue, Jun 14, 2011 at 12:17:48PM +0530, Vignesh Gadiyar wrote a message of 41 lines which said: > i mean in which function do we get the IP addresses looked up from > the Domain names inputted I'm afraid there is no simple answer to this question. > so as to perform the required functions on those ip addresses and > return my result back to the client. If you want to hack a name server and return custom results, I suggest either to wait for BIND 10 (where it will be easier) or to user another name server such as PowerDNS which has Lua plugins and pipe backends to make this easy. BIND 9's strongest point is not the hackability... ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: How to Setup a Name Servers visible on Internet?
On 14/06/2011 08:56, Stephane Bortzmeyer wrote: On Tue, Jun 14, 2011 at 08:11:53AM +0200, eric...@kom.za.net wrote a message of 86 lines which said: root@ns1:~# named-checkzone metropolitanbuntu.co.za /var/cache/bind/metropolitanbntu.co.za.inv /var/cache/bind/metropolitanbntu.co.za.inv:3: ignoring out-of-zone data (0.0.10.in-addr.arpa) /var/cache/bind/metropolitanbntu.co.za.inv:13: ignoring out-of-zone data (41.134.194.90) What is at line 3? At line 13? As BIND's message says, these data are outside of the zone. Thanks a lot for your response, Its doesn't point on my public IP who is 41.134.194.90 but on 10.0.0.80! You did not show us the content of the zone file so everything is possible. What is in the zone file? sorry for that, please see below the content for my reverse file data: File: /var/cache/bind/metropolitanbntu.co.za.inv: $ORIGIN 0.0.10.in-addr.arpa. $TTL 864000 @ IN SOA ns1.metropolitanbuntu.co.za. postmaster.metropolitanbuntu.co.za. ( 201105311 ; serial 3600; refresh 900 ; retry 1209600 ; expire 43200) ; default_TTL IN NS ns1.metropolitanbuntu.co.za. IN NS ns2.metropolitanbuntu.co.za. 41.134.194.90. IN PTR ns1.metropolitanbuntu.co.za. 10.0.0.80. IN PTR ns1.metropolitanbuntu.co.za. 41.134.194.91. IN PTR ns2.metropolitanbuntu.co.za. 10.0.0.82. IN PTR ns2.metropolitanbuntu.co.za. 10.0.0.81. IN PTR www.metropolitanbuntu.co.za. 10.0.0.102. IN PTR backup.metropolitanbuntu.co.za. 10.0.0.108. IN PTR printer-server.metropolitanbuntu.co.za. 10.0.0.31. IN PTR ldap.metropolitanbuntu.co.za. Also, never debug DNS with ping (because it involves other actors such as the stub resolver and its configuration in /etc/resolv.conf). Use dig. Thanks for this correction. My ISP controlling the Cisco router remotely! so I can looking! You can or you cannot? And, anyway, this is not router's business, but a DNS issue. -- Your Truly Eric Kom 2 Hennie Van Till, White River, 1240 eric...@kom.za.net | eric...@namekom.co.za | eric...@erickom.co.za www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: How to Setup a Name Servers visible on Internet?
On Tue, Jun 14, 2011 at 09:58:36AM +0200, eric...@kom.za.net wrote a message of 80 lines which said: > sorry for that, please see below the content for my reverse file data: > > File: /var/cache/bind/metropolitanbntu.co.za.inv: ... > 41.134.194.90. IN PTR ns1.metropolitanbuntu.co.za. Then, BIND is perfectly right, 41.134.194.90 does not belong to 0.0.10.in-addr.arpa... > 10.0.0.80. IN PTR ns1.metropolitanbuntu.co.za. More subtle here: you should have learn about PTR records before trying it (may I suggest Liu & Albitz' book?) 10.0.0.80 should have been written just 80 (thus forming the name 80.0.0.10.in-addr.arpa). ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Help needed
Hi, I am Vignesh from Bangalore and i was developing an application using Open source BIND wherein i needed to know where exactly, i mean from which function do we get the IP addresses looked up from the Domain names inputted, so as to perform the required functions on those ip addresses and return my result back to the client.i don't want to hack the the name server as such. I just want to know where i will be able to get the results obtained from the name server as in from which function?.Any sort of help will be appreciated. Regards, Vignesh. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Help needed
On Tue, Jun 14, 2011 at 3:04 PM, Vignesh Gadiyar wrote: > Hi, > I am Vignesh from Bangalore and i was developing an application using Open > source BIND wherein i needed to know where exactly, i mean from which > function do we get the IP addresses looked up from the Domain names > inputted, so as to perform the required functions on those ip addresses and > return my result back to the client.i don't want to hack the the name server > as such. I just want to know > where i will be able to get the results obtained from the name server as > in from which function?.Any sort of help will be appreciated. > Regards, > Vignesh. What will you use BIND for? If it's just to resolve hostnames, most programming language has gethostbyname() and gethostbyaddr() which should work even without having BIND explicitly installed. -- Fajar ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: primary and secondary running different versions
Thank you for your replies. I will go on then, and do the upgrade. Kind regards, Timo ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Help needed
On Tue, Jun 14, 2011 at 04:38:06PM +0700, Fajar A. Nugraha wrote a message of 29 lines which said: > most programming language has gethostbyname() and gethostbyaddr() These routines are deprecated for a long time (the main reason being they are specific of an old version of IP) and you should use getaddrinfo() and getnameinfo() instead. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Help needed
On Tue, 2011-06-14 at 13:34 +0530, Vignesh Gadiyar wrote: > from which function do we get the IP addresses looked up from the > Domain names inputted, so as to perform the required functions on > those ip addresses and return my result back to the client.i don't > want to hack the the name server as such. I just want to know > where i will be able to get the results obtained from the name server > as in from which function?.Any sort of help will be appreciated. I wonder if you may be looking for the resolver library functions? Try "man gethostbyname" for information about the C-language API to the resolver libraries. That's *nix-ish - but practically every programming language for practically every operating system supports access to the resolver libraries too... Regards, K. -- ~~~ Karl Auer (ka...@biplane.com.au) +61-2-64957160 (h) http://www.biplane.com.au/kauer/ +61-428-957160 (mob) GPG fingerprint: DA41 51B1 1481 16E1 F7E2 B2E9 3007 14ED 5736 F687 Old fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156 signature.asc Description: This is a digitally signed message part ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Help needed
Please don't remove cc to the list On Tue, Jun 14, 2011 at 5:27 PM, Vignesh Gadiyar wrote: > BIND gives us the resolved IP addresses right before sending back the reply. > I have a code which ranks those based on some parameters. I wanted to know > where exactly in BIND should we add that code. > Regards. Now that you're giving more details, hopefuly others will be able to help you. -- Fajar > > On Tue, Jun 14, 2011 at 3:08 PM, Fajar A. Nugraha wrote: >> >> On Tue, Jun 14, 2011 at 3:04 PM, Vignesh Gadiyar >> wrote: >> > Hi, >> > I am Vignesh from Bangalore and i was developing an application using >> > Open >> > source BIND wherein i needed to know where exactly, i mean from which >> > function do we get the IP addresses looked up from the Domain names >> > inputted, so as to perform the required functions on those ip addresses >> > and >> > return my result back to the client.i don't want to hack the the name >> > server >> > as such. I just want to know >> > where i will be able to get the results obtained from the name server as >> > in from which function?.Any sort of help will be appreciated. >> > Regards, >> > Vignesh. >> >> What will you use BIND for? >> >> If it's just to resolve hostnames, most programming language has >> gethostbyname() and gethostbyaddr() which should work even without >> having BIND explicitly installed. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: How to Setup a Name Servers visible on Internet?
On 14/06/2011 10:15, Stephane Bortzmeyer wrote: On Tue, Jun 14, 2011 at 09:58:36AM +0200, eric...@kom.za.net wrote a message of 80 lines which said: sorry for that, please see below the content for my reverse file data: File: /var/cache/bind/metropolitanbntu.co.za.inv: ... 41.134.194.90. IN PTR ns1.metropolitanbuntu.co.za. Then, BIND is perfectly right, 41.134.194.90 does not belong to 0.0.10.in-addr.arpa... 10.0.0.80. IN PTR ns1.metropolitanbuntu.co.za. More subtle here: you should have learn about PTR records before trying it (may I suggest Liu & Albitz' book?) 10.0.0.80 should have been written just 80 (thus forming the name 80.0.0.10.in-addr.arpa). Thank you in advance! I order the book and waiting for the delivery, I also fund a PDF copy on internet. Please after changed every things, I'm still getting the same errors. Please see below my config and zone data files: File: /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"; zone "metropolitanbuntu.co.za" IN { type master; file "/var/cache/bind/master.metropolitanbuntu.co.za"; notify yes; }; zone "0.0.10.in-addr.arpa" IN { type master; file "/var/cache/bind/0.0.10.metropolitanbuntu.co.za.inv"; }; zone "194.134.41.in-addr.arpa" IN { type master; file "/var/cache/bind/194.134.41.metropolitanbuntu.co.za.inv"; }; File: master.metropolitanbuntu.co.za: $ORIGIN metropolitanbuntu.co.za. $TTL 861000 metropolitanbuntu.co.za.IN SOA ns1.metropolitanbuntu.co.za.postmaster.metropolitanbuntu.co.za. ( 1 ; serial 3600; refresh 900 ; retry 1209600 ; expire 13200) ; default_TTL metropolitanbuntu.co.za.IN NS ns1.metropolitanbuntu.co.za. metropolitanbuntu.co.za.IN NS ns2.metropolitanbuntu.co.za. metropolitanbuntu.co.za.IN MX 10 mail.metropolitanbuntu.co.za. metropolitanbuntu.co.za.IN TXT "Metropolitan College DNS Server." ns1.metropolitanbuntu.co.za.IN A 10.0.0.80 ns2.metropolitanbuntu.co.za.IN A 10.0.0.82 www.metropolitanbuntu.co.za.IN A 10.0.0.81 www.metropolitanbuntu.co.za.IN A 10.0.0.82 mail.metropolitanbuntu.co.za. IN A 10.0.0.84 backup.metropolitanbuntu.co.za. IN A 10.0.0.102 ftp IN CNAME www img IN CNAME www * IN CNAME www imapIN CNAME mail pop IN CNAME mail pop3IN CNAME mail smtpIN CNAME mail File: 0.0.10.metropolitanbuntu.co.za.inv: $TTL 864000 0.0.10.in-addr.arpa.IN SOA ns1.metropolitanbuntu.co.za.postmaster.metropolitanbuntu.co.za. ( 1 ; serial 3600; refresh 900 ; retry 1209600 ; expire 43200) ; default_TTL 0.0.10.in-addr.arpa.IN NS ns1.metropolitanbuntu.co.za. 0.0.10.in-addr.arpa.IN NS ns2.metropolitanbuntu.co.za. 80.0.0.10.in-addr.arpa. IN PTR ns1.metropolitanbuntu.co.za. 82.0.0.10.in-addr.arpa. IN PTR ns2.metropolitanbuntu.co.za. 81.0.0.10.in-addr.arpa. IN PTR www.metropolitanbuntu.co.za. 102.0.0.10.in-addr.arpa.IN PTR backup.metropolitanbuntu.co.za. 108.0.0.10.in-addr.arpa.IN PTR printer-server.metropolitanbuntu.co.za. 31.0.0.10.in-addr.arpa. IN PTR ldap.metropolitanbuntu.co.za. File: 194.134.41.metropolitanbuntu.co.za.inv : $TTL 864000 194.134.41.in-addr.arpa.IN SOA ns1.metropolitanbuntu.co.za.postmaster.metropolitanbuntu.co.za. ( 1 ; serial 3600; refresh 900 ; retry 1209600 ; expire 43200) ; default_TTL 194.134.41.in-addr.arpa.IN NS ns1.metropolitanbuntu.co.za. 194.134.41.in-addr.arpa.IN NS ns2.metropolitanbuntu.co.za. 90.194.134.41.in-addr.arpa. IN PTR ns1.metropolitanbuntu.co.za. 91.194.134.41.in-addr.arpa. IN PTR ns2.metropolitanbuntu.co.za. This is the name server checks output: root@ns1:/var/cache/bind# named-checkzon
Re: How to Setup a Name Servers visible on Internet?
On Tue, Jun 14, 2011 at 02:25:12PM +0200, eric...@kom.za.net wrote a message of 307 lines which said: > root@ns1:/var/cache/bind# named-checkzone metropolitanbuntu.co.za > 0.0.10.metropolitanbuntu.co.za.inv Wrong zone name. The file 0.0.10.metropolitanbuntu.co.za.inv contains data about 0.0.10.in-addr.arpa, not about metropolitanbuntu.co.za, which explains why named-checkzone is confused. (See your named.conf, which is correct.) I strongly suggest that you drop completely all the "inverse zone" terminology, which is very confusing. 0.0.10.in-addr.arpa is NOT metropolitanbuntu.co.za's inverse, it is 0.0.10.in-addr.arpa, period. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: Help needed
BIND gives us the resolved IP addresses before sending back the reply right.I have a code which ranks those based on some parameters. I wanted to know where exactly in BIND should we add that code. Regards. On Tue, Jun 14, 2011 at 5:42 PM, Fajar A. Nugraha wrote: > Please don't remove cc to the list > > On Tue, Jun 14, 2011 at 5:27 PM, Vignesh Gadiyar > wrote: > > BIND gives us the resolved IP addresses right before sending back the > reply. > > I have a code which ranks those based on some parameters. I wanted to > know > > where exactly in BIND should we add that code. > > Regards. > > Now that you're giving more details, hopefuly others will be able to help > you. > > -- > Fajar > > > > > On Tue, Jun 14, 2011 at 3:08 PM, Fajar A. Nugraha > wrote: > >> > >> On Tue, Jun 14, 2011 at 3:04 PM, Vignesh Gadiyar > >> wrote: > >> > Hi, > >> > I am Vignesh from Bangalore and i was developing an application using > >> > Open > >> > source BIND wherein i needed to know where exactly, i mean from which > >> > function do we get the IP addresses looked up from the Domain names > >> > inputted, so as to perform the required functions on those ip > addresses > >> > and > >> > return my result back to the client.i don't want to hack the the name > >> > server > >> > as such. I just want to know > >> > where i will be able to get the results obtained from the name server > as > >> > in from which function?.Any sort of help will be appreciated. > >> > Regards, > >> > Vignesh. > >> > >> What will you use BIND for? > >> > >> If it's just to resolve hostnames, most programming language has > >> gethostbyname() and gethostbyaddr() which should work even without > >> having BIND explicitly installed. > -- ƃɔʌ ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: How to Setup a Name Servers visible on Internet?
On 14.06.11 14:2 , eric...@kom.za.net wrote: > zone "metropolitanbuntu.co.za" IN { > file "/var/cache/bind/master.metropolitanbuntu.co.za"; > > zone "0.0.10.in-addr.arpa" IN { > file "/var/cache/bind/0.0.10.metropolitanbuntu.co.za.inv"; > > zone "194.134.41.in-addr.arpa" IN { > file "/var/cache/bind/194.134.41.metropolitanbuntu.co.za.inv"; Just FYI: I put zones to a files the same name as zones have (with the exemption of changing slash to underscore for RFC2317-delegated zones). therefore I'd do zone "metropolitanbuntu.co.za" IN { file "/var/cache/bind/metropolitanbuntu.co.za"; zone "0.0.10.in-addr.arpa" IN { file "/var/cache/bind/0.0.10.in-addr.arpa"; zone "194.134.41.in-addr.arpa" IN { file "/var/cache/bind/194.134.41.in-addr.arpa"; and apparently also put 'directory "/var/cache/bind";' to named.conf and skip the full path, or just prefix it with master/ and slave/ ... It's much easier to do vi metropolitanbuntu.co.za rndc reload metrop or maybe in tcsh: rndc reload !!:1 -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. We are but packets in the Internet of life (userfriendly.org) ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: How to Setup a Name Servers visible on Internet?
On 14/06/2011 14:54, Stephane Bortzmeyer wrote: On Tue, Jun 14, 2011 at 02:25:12PM +0200, eric...@kom.za.net wrote a message of 307 lines which said: root@ns1:/var/cache/bind# named-checkzone metropolitanbuntu.co.za 0.0.10.metropolitanbuntu.co.za.inv Wrong zone name. The file 0.0.10.metropolitanbuntu.co.za.inv contains data about 0.0.10.in-addr.arpa, not about metropolitanbuntu.co.za, which explains why named-checkzone is confused. (See your named.conf, which is correct.) Thanks for that! I changed the setting, and thinks that I'm on my way. Please below the inverse zone settings changed File:0.0.10.metropolitanbuntu.co.za.inv $TTL 864000 metropolitanbuntu.co.za.IN SOA ns1.metropolitanbuntu.co.za.postmaster.metropolitanbuntu.co.za. ( 1 ; serial 3600; refresh 900 ; retry 1209600 ; expire 43200) ; default_TTL ; metropolitanbuntu.co.za.IN NS ns1.metropolitanbuntu.co.za. metropolitanbuntu.co.za.IN NS ns2.metropolitanbuntu.co.za. ; 80 IN PTR ns1.metropolitanbuntu.co.za. 82 IN PTR ns2.metropolitanbuntu.co.za. 81 IN PTR www.metropolitanbuntu.co.za. 102 IN PTR backup.metropolitanbuntu.co.za. 108 IN PTR printer-server.metropolitanbuntu.co.za. 31 IN PTR ldap.metropolitanbuntu.co.za. and File: 194.134.41.metropolitanbuntu.co.za.inv $TTL 864000 metropolitanbuntu.co.za.IN SOA ns1.metropolitanbuntu.co.za.postmaster.metropolitanbuntu.co.za. ( 1 ; serial 3600; refresh 900 ; retry 1209600 ; expire 43200) ; default_TTL ; metropolitanbuntu.co.za.IN NS ns1.metropolitanbuntu.co.za. metropolitanbuntu.co.za.IN NS ns2.metropolitanbuntu.co.za. ; 90 IN PTR ns1.metropolitanbuntu.co.za. 91 IN PTR ns2.metropolitanbuntu.co.za. Please This is another check for inverse and I can see that the number of errors/warnings was reduce: root@ns1:/var/cache/bind# named-checkzone metropolitanbuntu.co.za 0.0.10.metropolitanbuntu.co.za.inv zone metropolitanbuntu.co.za/IN: NS 'ns1.metropolitanbuntu.co.za' has no address records (A or ) zone metropolitanbuntu.co.za/IN: NS 'ns2.metropolitanbuntu.co.za' has no address records (A or ) zone metropolitanbuntu.co.za/IN: not loaded due to errors. and Please see below the output command "#grep named /var/log/syslog" root@ns1:/var/cache/bind# named-checkzone metropolitanbuntu.co.za 194.134.41.metropolitanbuntu.co.za.inv zone metropolitanbuntu.co.za/IN: NS 'ns1.metropolitanbuntu.co.za' has no address records (A or ) zone metropolitanbuntu.co.za/IN: NS 'ns2.metropolitanbuntu.co.za' has no address records (A or ) zone metropolitanbuntu.co.za/IN: not loaded due to errors. Jun 14 15:31:23 ns1 named[11608]: received control channel command 'stop -p' Jun 14 15:31:23 ns1 named[11608]: shutting down: flushing changes Jun 14 15:31:23 ns1 named[11608]: stopping command channel on 127.0.0.1#953 Jun 14 15:31:23 ns1 named[11608]: stopping command channel on ::1#953 Jun 14 15:31:23 ns1 named[11608]: no longer listening on ::#53 Jun 14 15:31:23 ns1 named[11608]: no longer listening on 127.0.0.1#53 Jun 14 15:31:23 ns1 named[11608]: no longer listening on 10.0.0.80#53 Jun 14 15:31:23 ns1 named[11608]: exiting Jun 14 15:31:24 ns1 named[11648]: starting BIND 9.7.3 -u bind Jun 14 15:31:24 ns1 named[11648]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=' 'CPPFLAGS=' Jun 14 15:31:24 ns1 named[11648]: adjusted limit on open files from 1024 to 1048576 Jun 14 15:31:24 ns1 named[11648]: found 1 CPU, using 1 worker thread Jun 14 15:31:24 ns1 named[11648]: using up to 4096 sockets Jun 14 15:31:24 ns1 named[11648]: loading configuration from '/etc/bind/named.conf' Jun 1
Re: How to Setup a Name Servers visible on Internet?
Jun 14 17:34:02 ns1 named[11927]: received control channel command 'stop -p' Jun 14 17:34:02 ns1 named[11927]: shutting down: flushing changes Jun 14 17:34:02 ns1 named[11927]: stopping command channel on 127.0.0.1#953 Jun 14 17:34:02 ns1 named[11927]: stopping command channel on ::1#953 Jun 14 17:34:02 ns1 named[11927]: no longer listening on ::#53 Jun 14 17:34:02 ns1 named[11927]: no longer listening on 127.0.0.1#53 Jun 14 17:34:02 ns1 named[11927]: no longer listening on 10.0.0.80#53 Jun 14 17:34:02 ns1 named[11927]: exiting Jun 14 17:34:03 ns1 named[11965]: starting BIND 9.7.3 -u bind Jun 14 17:34:03 ns1 named[11965]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=' 'CPPFLAGS=' Jun 14 17:34:03 ns1 named[11965]: adjusted limit on open files from 1024 to 1048576 Jun 14 17:34:03 ns1 named[11965]: found 1 CPU, using 1 worker thread Jun 14 17:34:03 ns1 named[11965]: using up to 4096 sockets Jun 14 17:34:03 ns1 named[11965]: loading configuration from '/etc/bind/named.conf' Jun 14 17:34:03 ns1 named[11965]: reading built-in trusted keys from file '/etc/bind/bind.keys' Jun 14 17:34:03 ns1 named[11965]: using default UDP/IPv4 port range: [1024, 65535] Jun 14 17:34:03 ns1 named[11965]: using default UDP/IPv6 port range: [1024, 65535] Jun 14 17:34:03 ns1 named[11965]: listening on IPv6 interfaces, port 53 Jun 14 17:34:03 ns1 named[11965]: listening on IPv4 interface lo, 127.0.0.1#53 Jun 14 17:34:03 ns1 named[11965]: listening on IPv4 interface eth1, 10.0.0.80#53 Jun 14 17:34:03 ns1 named[11965]: generating session key for dynamic DNS Jun 14 17:34:03 ns1 named[11965]: set up managed keys zone for view _default, file 'managed-keys.bind' Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 254.169.IN-ADDR.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 2.0.192.IN-ADDR.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 100.51.198.IN-ADDR.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 113.0.203.IN-ADDR.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: D.F.IP6.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 8.E.F.IP6.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 9.E.F.IP6.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: A.E.F.IP6.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: B.E.F.IP6.ARPA Jun 14 17:34:03 ns1 named[11965]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA Jun 14 17:34:03 ns1 named[11965]: command channel listening on 127.0.0.1#953 Jun 14 17:34:03 ns1 named[11965]: command channel listening on ::1#953 Jun 14 17:34:03 ns1 named[11965]: zone 0.in-addr.arpa/IN: loaded serial 1 Jun 14 17:34:03 ns1 named[11965]: 0.0.10.in-addr.arpa:2: ignoring out-of-zone data (metropolitanbuntu.co.za) Jun 14 17:34:03 ns1 named[11965]: 0.0.10.in-addr.arpa:9: ignoring out-of-zone data (metropolitanbuntu.co.za) Jun 14 17:34:03 ns1 named[11965]: 0.0.10.in-addr.arpa:10: ignoring out-of-zone data (metropolitanbuntu.co.za) Jun 14 17:34:03 ns1 named[11965]: zone 0.0.10.in-addr.arpa/IN: has 0 SOA records Jun 14 17:34:03 ns1 named[11965]: zone 0.0.10.in-addr.arpa/IN: has no NS records Jun 14 17:34:03 ns1 named[11965]: zone 0.0.10.in-addr.arpa/IN: not loaded due to errors. Jun 14 17:34:03 ns1 named[11965]: zone 127.in-addr.arpa/IN: loaded serial 1 Jun 14 17:34:03 ns1 named[11965]: zone 255.in-addr.arpa/IN: loaded serial 1 Jun 14 17:34:03 ns1 named[11965]: 194.134.41.in-addr.arpa:2: ignoring out-of-zone data (metropolitanbuntu.co.za) Jun 14 17:34:03 ns1 named[11965]: 194.134.41.in-addr.arpa:9: ignoring out-of-zone data (metropolitanbuntu.co.za) Jun 14 17:34:03 ns1 named[11965]: 194.134.41.in-addr.arpa:10: ignoring out-of-zone data (metropolitanbuntu.co.za) Jun 14 17:34:03 ns1 named[11965]: zone 194.134.41.in-addr.arpa/IN: has 0 SOA records Jun 14 17:34:03 ns1 named[11965]: zone 194.134.41.in-addr.arpa/IN: has no NS records Jun 14 17:34:03 ns1 named[11965]: zone 194.134.41.in-addr.arpa/IN: not loaded due to errors. Jun 14 17:34:03 ns1 named[11965]: zone localhost/IN: loaded serial 2 Jun 14 17:34:03 ns1 named[11965]: zone metropolitanbuntu.co.za/IN: loaded serial 1 Jun 14 17:34:03 ns1 named
Re: How to Setup a Name Servers visible on Internet?
Eric, Did you know that UniForum SA (the CO.ZA administrators) provide free DNS classes for people that live in South Africa? (Intro and Advanced). So you'd need to get over to Johannesburg and/or Cape Town and pay for some accommodation - but the courses are free. You can see and book for the courses via the CO.ZA Web site. Courses are run twice a year. On Tue, 2011-06-14 at 14:25 +0200, eric...@kom.za.net wrote: > On 14/06/2011 10:15, Stephane Bortzmeyer wrote: > > On Tue, Jun 14, 2011 at 09:58:36AM +0200, > > eric...@kom.za.net wrote > > a message of 80 lines which said: > > > >> sorry for that, please see below the content for my reverse file > >> data: > >> > >> File: /var/cache/bind/metropolitanbntu.co.za.inv: > > ... > >> 41.134.194.90. IN PTR ns1.metropolitanbuntu.co.za. > > > > Then, BIND is perfectly right, 41.134.194.90 does not belong to > > 0.0.10.in-addr.arpa... > > > >> 10.0.0.80. IN PTR ns1.metropolitanbuntu.co.za. > > > > More subtle here: you should have learn about PTR records before > > trying it (may I suggest Liu & Albitz' book?) 10.0.0.80 should have > > been written just 80 (thus forming the name 80.0.0.10.in-addr.arpa). > > > Thank you in advance! > > I order the book and waiting for the delivery, > > I also fund a PDF copy on internet. > [outputs deleted] -- . . ___. .__ Posix Systems - Sth Africa /| /| / /__ m...@posix.co.za - Mark J Elkins, Cisco CCIE / |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496 smime.p7s Description: S/MIME cryptographic signature ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
tell BIND the nameservers have been changed
Hello, Once I changed the IP address for NS records, for example, example.com. IN NS ns1.myzone.com. example.com. IN NS ns2.myzone.com. I changed ns[1-2].myzone.com to new IPs in myzone.com's DNS, then how to let BIND for example.com to know the NS has been changed? Thanks. Publish your photos in seconds for FREE TRY IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if4 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users