Re: [newbie] More about Bind...
Can you give us more information about what you've done, what is in your config-files etc ? Some thing that goes through my mind now: - before restarting bind, open another terminal and do tail -f /var/log/messages It gives valueable information about possible errors. - Put your loopback in /etc/resolve.conf - use dig for DNS lookups Steven On Mon, 2003-06-09 at 14:56, Yves Arsenault wrote: Hello, I have recently followed a tutorial in the webmin docs on configuring the Bind DNS server, so I`ve added a domain and followed the tutorial as precisely as possible When I run host domain.com serverip It still doesn`t find the domain name. I keep getting: connection timed out; no servers could be reached Is Bind dependant on other programs that I might not have running? Thanks Yves Arsenault Carrefour Infotech 5,promenade Acadian Charlottetown, IPE C1C 1M2 [EMAIL PROTECTED] (902)368-1895 ext.242 ICQ #117650823 __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] More about Bind...
In my domain.com.hosts file, I have the following contents: domain.com. IN SOA ns1.domain.com. yves.carrefour.peicaps.org. ( 1055162570 10800 3600 604800 38400 ) domain.com. IN NS ns1.domain.com. domain.com. IN A 24.222.21.54 www.ilebranchee.ca. IN A 24.222.21.54 mail.domain.com.IN CNAME domain.com. domain.com. IN MX 10 mail.domain.com Are there any other files that you would like to see? Yves Arsenault Carrefour Infotech 5, Acadian Dr. Charlottetown, PEI C1C 1M2 [EMAIL PROTECTED] (902)368-1895 ext.242 ICQ #117650823 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Broos Sent: June 9, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] More about Bind... Can you give us more information about what you've done, what is in your config-files etc ? Some thing that goes through my mind now: - before restarting bind, open another terminal and do tail -f /var/log/messages It gives valueable information about possible errors. - Put your loopback in /etc/resolve.conf - use dig for DNS lookups Steven On Mon, 2003-06-09 at 14:56, Yves Arsenault wrote: Hello, I have recently followed a tutorial in the webmin docs on configuring the Bind DNS server, so I`ve added a domain and followed the tutorial as precisely as possible When I run host domain.com serverip It still doesn`t find the domain name. I keep getting: connection timed out; no servers could be reached Is Bind dependant on other programs that I might not have running? Thanks Yves Arsenault Carrefour Infotech 5,promenade Acadian Charlottetown, IPE C1C 1M2 [EMAIL PROTECTED] (902)368-1895 ext.242 ICQ #117650823 __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] More about Bind...
Did you try tail -f /var/log/messageswhile restarting bind ? I would like to know if it gives any error-messages... I think there is a ; missing after the last bracket of your time-to-live settings. I never understood why it had to be there, but it had... Maybe try your config-file this way? : There could be errors in it, but maybe it puts you on the right track ? $TTL 38400 @ IN SOA ns1.domain.com. yves.carrefour.peicaps.org. ( 1055162570 10800 3600 604800 38400 ); IN NS ns1.domain.com. IN MX 10 mail.domain.com. this should be a hostname in the domain IN A 24.222.21.54 this should be a hostname in the domain IN A 24.222.21.54 #The previous line is not possible, because you use 2 times the same #IP address. Use a CNAME instead of a A-record. mailIN CNAME this should be a hostname already defined I don't know what you are trying to do with the ilebranchee-thing. You need to put the hosts from your domain in this file, without the domain-name, without a point after them. Steven On Mon, 2003-06-09 at 16:27, Yves Arsenault wrote: In my domain.com.hosts file, I have the following contents: domain.com. IN SOA ns1.domain.com. yves.carrefour.peicaps.org. ( 1055162570 10800 3600 604800 38400 ) domain.com. IN NS ns1.domain.com. domain.com. IN A 24.222.21.54 www.ilebranchee.ca. IN A 24.222.21.54 mail.domain.com.IN CNAME domain.com. domain.com. IN MX 10 mail.domain.com Are there any other files that you would like to see? Yves Arsenault Carrefour Infotech 5, Acadian Dr. Charlottetown, PEI C1C 1M2 [EMAIL PROTECTED] (902)368-1895 ext.242 ICQ #117650823 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Broos Sent: June 9, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] More about Bind... Can you give us more information about what you've done, what is in your config-files etc ? Some thing that goes through my mind now: - before restarting bind, open another terminal and do tail -f /var/log/messages It gives valueable information about possible errors. - Put your loopback in /etc/resolve.conf - use dig for DNS lookups Steven On Mon, 2003-06-09 at 14:56, Yves Arsenault wrote: Hello, I have recently followed a tutorial in the webmin docs on configuring the Bind DNS server, so I`ve added a domain and followed the tutorial as precisely as possible When I run host domain.com serverip It still doesn`t find the domain name. I keep getting: connection timed out; no servers could be reached Is Bind dependant on other programs that I might not have running? Thanks Yves Arsenault Carrefour Infotech 5,promenade Acadian Charlottetown, IPE C1C 1M2 [EMAIL PROTECTED] (902)368-1895 ext.242 ICQ #117650823 __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] More about Bind...
I get this when I type tail -f /var/log/messages Jun 9 12:00:00 man1 CROND[9022]: (mail) CMD (/usr/bin/python -S /var/lib/mailman/cron/senddigests) Jun 9 12:01:00 man1 CROND[9027]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly) Jun 9 12:01:00 man1 CROND[9029]: (mail) CMD (/usr/bin/python -S /var/lib/mailman/cron/qrunner) Jun 9 12:01:00 man1 su(pam_unix)[9032]: session opened for user news by (uid=0) Jun 9 12:01:01 man1 su(pam_unix)[9032]: session closed for user news Jun 9 12:01:01 man1 msec: changed mode of /var/log/news/nntpsend.log from 660 to 640 Jun 9 12:01:01 man1 msec: changed mode of /var/log/samba/log.dstill-of-lapmd from 644 to 640 Jun 9 12:01:18 man1 named[1101]: loading configuration from '/etc/named.conf' Jun 9 12:01:18 man1 named[1101]: /etc/named.conf:12: expected port number or '*' near 'allow' Jun 9 12:01:18 man1 named[1101]: reloading configuration failed: unexpected tokenJun 9 12:00:00 man1 CROND[9022]: (mail) CMD (/usr/bin/python -S /var/lib/mailman/cron/senddigests) Jun 9 12:01:00 man1 CROND[9027]: (root) CMD (nice -n 19 run-parts /etc/cron.hourly) Jun 9 12:01:00 man1 CROND[9029]: (mail) CMD (/usr/bin/python -S /var/lib/mailman/cron/qrunner) Jun 9 12:01:00 man1 su(pam_unix)[9032]: session opened for user news by (uid=0) Jun 9 12:01:01 man1 su(pam_unix)[9032]: session closed for user news Jun 9 12:01:01 man1 msec: changed mode of /var/log/news/nntpsend.log from 660 to 640 Jun 9 12:01:01 man1 msec: changed mode of /var/log/samba/log.dstill-of-lapmd from 644 to 640 Jun 9 12:01:18 man1 named[1101]: loading configuration from '/etc/named.conf' Jun 9 12:01:18 man1 named[1101]: /etc/named.conf:12: expected port number or '*' near 'allow' Jun 9 12:01:18 man1 named[1101]: reloading configuration failed: unexpected token Being an extreme newbie, I`m not sure what it all means... :-) Yves -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Broos Sent: June 9, 2003 11:52 AM To: [EMAIL PROTECTED] Subject: RE: [newbie] More about Bind... Did you try tail -f /var/log/messageswhile restarting bind ? I would like to know if it gives any error-messages... I think there is a ; missing after the last bracket of your time-to-live settings. I never understood why it had to be there, but it had... Maybe try your config-file this way? : There could be errors in it, but maybe it puts you on the right track ? $TTL 38400 @ IN SOA ns1.domain.com. yves.carrefour.peicaps.org. ( 1055162570 10800 3600 604800 38400 ); IN NS ns1.domain.com. IN MX 10 mail.domain.com. this should be a hostname in the domain IN A 24.222.21.54 this should be a hostname in the domain IN A 24.222.21.54 #The previous line is not possible, because you use 2 times the same #IP address. Use a CNAME instead of a A-record. mailIN CNAME this should be a hostname already defined I don't know what you are trying to do with the ilebranchee-thing. You need to put the hosts from your domain in this file, without the domain-name, without a point after them. Steven On Mon, 2003-06-09 at 16:27, Yves Arsenault wrote: In my domain.com.hosts file, I have the following contents: domain.com. IN SOA ns1.domain.com. yves.carrefour.peicaps.org. ( 1055162570 10800 3600 604800 38400 ) domain.com. IN NS ns1.domain.com. domain.com. IN A 24.222.21.54 www.ilebranchee.ca. IN A 24.222.21.54 mail.domain.com.IN CNAME domain.com. domain.com. IN MX 10 mail.domain.com Are there any other files that you would like to see? Yves Arsenault Carrefour Infotech 5, Acadian Dr. Charlottetown, PEI C1C 1M2 [EMAIL PROTECTED] (902)368-1895 ext.242 ICQ #117650823 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Broos Sent: June 9, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] More about Bind... Can you give us more information about what you've done, what is in your config-files etc ? Some thing that goes through my mind now: - before restarting bind, open another terminal and do tail -f /var/log/messages It gives valueable information about possible errors. - Put your loopback in /etc/resolve.conf - use dig for DNS lookups Steven On Mon, 2003-06-09 at 14:56, Yves Arsenault wrote: Hello, I have recently followed a tutorial in the webmin docs on configuring the Bind DNS server, so I`ve added a domain and followed the tutorial as precisely as possible When I run host domain.com serverip
RE: [newbie] More about Bind...
On Mon, 2003-06-09 at 16:59, Yves Arsenault wrote: Jun 9 12:01:18 man1 named[1101]: loading configuration from '/etc/named.conf' Jun 9 12:01:18 man1 named[1101]: /etc/named.conf:12: expected port number or '*' near 'allow' Jun 9 12:01:18 man1 named[1101]: reloading configuration failed: unexpected token Every line contains the process tat triggered the log-message. Here are the three last lines from named (the bind server) Aparently, there is a fault in your configfile, at line 12. - /etc/named.conf:12: expected port number or '*' near 'allow' Now you can track that fault, and correct it. When that's done, restart named, again take a look at /var/log/messages, and keep on going until it works :-) I hope this helps. Steven Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] More about Bind...
Thanks Steven You know what, the small error on that line was the only thing causing the error... Thanks a million! :-) Yves -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Broos Sent: June 9, 2003 12:15 PM To: [EMAIL PROTECTED] Subject: RE: [newbie] More about Bind... On Mon, 2003-06-09 at 16:59, Yves Arsenault wrote: Jun 9 12:01:18 man1 named[1101]: loading configuration from '/etc/named.conf' Jun 9 12:01:18 man1 named[1101]: /etc/named.conf:12: expected port number or '*' near 'allow' Jun 9 12:01:18 man1 named[1101]: reloading configuration failed: unexpected token Every line contains the process tat triggered the log-message. Here are the three last lines from named (the bind server) Aparently, there is a fault in your configfile, at line 12. - /etc/named.conf:12: expected port number or '*' near 'allow' Now you can track that fault, and correct it. When that's done, restart named, again take a look at /var/log/messages, and keep on going until it works :-) I hope this helps. Steven Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] More about Bind...
On Mon, 2003-06-09 at 18:57, Yves Arsenault wrote: Thanks Steven You know what, the small error on that line was the only thing causing the error... Thanks a million! I'm glad I finally could help someone. Most of my answers are too dumb to remember :) Steven Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com