BIND setup: Almost got it, need just a little more help
Hey, Well, I'm not getting any errors in /var/log/messages anymore. Could someone who knows more then me have a look at this and see if there's anything wrong? bash-2.05# cat mailsouthwest.com.zone $TTL 2D mailsouthwest.com. IN SOA test mailsouthwest.com. ( 2001101924 ; serial 1H ; refresh 2H ; retry 1H ; expiry 2H ) ; minimum IN NS test IN MX 10 test test IN A 65.166.138.60 www IN A 65.166.138.61 mail IN CNAME test It must be working *sorta* because I can now ping all the hosts from the test Win2k workstation that's using this box as it's only nameserver. One thing that's kinda strange is I can't ping just the domain - only the hosts: C:\>ping mail.mailsouthwest.com Pinging test.mailsouthwest.com [65.166.138.60] with 32 bytes of data: Reply from 65.166.138.60: bytes=32 time<10ms TTL=255 Reply from 65.166.138.60: bytes=32 time<10ms TTL=255 Reply from 65.166.138.60: bytes=32 time=16ms TTL=255 Reply from 65.166.138.60: bytes=32 time<10ms TTL=255 Ping statistics for 65.166.138.60: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 16ms, Average = 4ms C:\>ping www.mailsouthwest.com Pinging www.mailsouthwest.com [65.166.138.61] with 32 bytes of data: Reply from 65.166.138.61: bytes=32 time<10ms TTL=255 Reply from 65.166.138.61: bytes=32 time<10ms TTL=255 Reply from 65.166.138.61: bytes=32 time<10ms TTL=255 Reply from 65.166.138.61: bytes=32 time=16ms TTL=255 Ping statistics for 65.166.138.61: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 16ms, Average = 4ms C:\>ping mailsouthwest.com Unknown host mailsouthwest.com. I'm sure that's a configuration error. I'm getting the same sort of thing on the nameserver it's self: bash-2.05# ping -c2 mail.mailsouthwest.com; ping -c2 www.mailsouthwest.com; ping -c2 mailsouthwest.com; PING test.mailsouthwest.com (65.166.138.60): 56 data bytes 64 bytes from 65.166.138.60: icmp_seq=0 ttl=255 time=0.093 ms 64 bytes from 65.166.138.60: icmp_seq=1 ttl=255 time=0.056 ms --- test.mailsouthwest.com ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.056/0.074/0.093 ms PING www.mailsouthwest.com (65.166.138.61): 56 data bytes 64 bytes from 65.166.138.61: icmp_seq=0 ttl=255 time=0.093 ms 64 bytes from 65.166.138.61: icmp_seq=1 ttl=255 time=0.044 ms --- www.mailsouthwest.com ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.044/0.068/0.093 ms ping: unknown host: mailsouthwest.com Someone told me about an article that looks pretty good: http://www.linux-mag.com/2000-09/dns_03.html Step 3 is: Step 3. Modify /etc/resolv.conf to set your default domain to your own domain and to point to the IP addresses of your and other name servers. So now my /etc/resolve.conf looks like this: domain mailsouthwest.com search mailsouthwest.com nameserver 127.0.0.1 It that correct, or should I have done something else? Thanks guys. ---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com
you need an a record for mailsouthwest.com add this to zone file mailsouthwest.com. IN A 65.166.138.60 On Fri, 19 Oct 2001, JW wrote:
Hey,
Well, I'm not getting any errors in /var/log/messages anymore. Could someone who knows more then me have a look at this and see if there's anything wrong?
bash-2.05# cat mailsouthwest.com.zone $TTL 2D mailsouthwest.com. IN SOA test mailsouthwest.com. ( 2001101924 ; serial 1H ; refresh 2H ; retry 1H ; expiry 2H ) ; minimum IN NS test IN MX 10 test test IN A 65.166.138.60 www IN A 65.166.138.61 mail IN CNAME test
It must be working *sorta* because I can now ping all the hosts from the test Win2k workstation that's using this box as it's only nameserver.
One thing that's kinda strange is I can't ping just the domain - only the hosts:
C:\>ping mail.mailsouthwest.com
Pinging test.mailsouthwest.com [65.166.138.60] with 32 bytes of data:
Reply from 65.166.138.60: bytes=32 time<10ms TTL=255 Reply from 65.166.138.60: bytes=32 time<10ms TTL=255 Reply from 65.166.138.60: bytes=32 time=16ms TTL=255 Reply from 65.166.138.60: bytes=32 time<10ms TTL=255
Ping statistics for 65.166.138.60: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 16ms, Average = 4ms
C:\>ping www.mailsouthwest.com
Pinging www.mailsouthwest.com [65.166.138.61] with 32 bytes of data:
Reply from 65.166.138.61: bytes=32 time<10ms TTL=255 Reply from 65.166.138.61: bytes=32 time<10ms TTL=255 Reply from 65.166.138.61: bytes=32 time<10ms TTL=255 Reply from 65.166.138.61: bytes=32 time=16ms TTL=255
Ping statistics for 65.166.138.61: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 16ms, Average = 4ms
C:\>ping mailsouthwest.com Unknown host mailsouthwest.com.
I'm sure that's a configuration error. I'm getting the same sort of thing on the nameserver it's self:
bash-2.05# ping -c2 mail.mailsouthwest.com; ping -c2 www.mailsouthwest.com; ping -c2 mailsouthwest.com; PING test.mailsouthwest.com (65.166.138.60): 56 data bytes 64 bytes from 65.166.138.60: icmp_seq=0 ttl=255 time=0.093 ms 64 bytes from 65.166.138.60: icmp_seq=1 ttl=255 time=0.056 ms --- test.mailsouthwest.com ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.056/0.074/0.093 ms PING www.mailsouthwest.com (65.166.138.61): 56 data bytes 64 bytes from 65.166.138.61: icmp_seq=0 ttl=255 time=0.093 ms 64 bytes from 65.166.138.61: icmp_seq=1 ttl=255 time=0.044 ms --- www.mailsouthwest.com ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max = 0.044/0.068/0.093 ms ping: unknown host: mailsouthwest.com
Someone told me about an article that looks pretty good: http://www.linux-mag.com/2000-09/dns_03.html
Step 3 is:
Step 3. Modify /etc/resolv.conf to set your default domain to your own domain and to point to the IP addresses of your and other name servers.
So now my /etc/resolve.conf looks like this:
domain mailsouthwest.com search mailsouthwest.com nameserver 127.0.0.1
It that correct, or should I have done something else?
Thanks guys.
---------------------------------------------------- Jonathan Wilson System Administrator
Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Chad Whitten Network/Systems Administrator neXband Communications chadwick@nexband.com
At 04:07 PM 10/19/2001 -0500, you wrote:
you need an a record for mailsouthwest.com add this to zone file mailsouthwest.com. IN A 65.166.138.60
Hey thanks - I realized that right after I sent the last post, it works now. Now, any ideas about the resolv.conf part?
On Fri, 19 Oct 2001, JW wrote:
Hey,
<snip>
So now my /etc/resolve.conf looks like this:
domain mailsouthwest.com search mailsouthwest.com nameserver 127.0.0.1
It that correct, or should I have done something else?
Thanks guys.
---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com
on the linux box itself, put search mailsouthwest.com nameserver 127.0.0.1 in /etc/resolv.conf on your other machines, put the ip of the linux box in for the dns server to query. On Fri, 19 Oct 2001, JW wrote:
At 04:07 PM 10/19/2001 -0500, you wrote:
you need an a record for mailsouthwest.com add this to zone file mailsouthwest.com. IN A 65.166.138.60
Hey thanks - I realized that right after I sent the last post, it works now.
Now, any ideas about the resolv.conf part?
On Fri, 19 Oct 2001, JW wrote:
Hey,
<snip>
So now my /etc/resolve.conf looks like this:
domain mailsouthwest.com search mailsouthwest.com nameserver 127.0.0.1
It that correct, or should I have done something else?
Thanks guys.
---------------------------------------------------- Jonathan Wilson System Administrator
Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Chad Whitten Network/Systems Administrator neXband Communications chadwick@nexband.com
participants (2)
-
dog@intop.net
-
JW