Bind 8 ssh problem
Patrick Fleming EA
plug-discuss@lists.PLUG.phoenix.az.us
Mon, 10 Dec 2001 06:47:47 -0700 (MST)
On 9 Dec 2001, Nathan England wrote:
>
>
> I am running bind 8 on my server. I have all my systems setup in bind.
> Everything seems to work fine,except ssh.
> My servers name is fallout. My laptop is deadsoul.
> If I try to ssh to fallout from deadsoul it sits and waits about 20
> seconds. I assume this is because it is trying to reverse my address.
> But none of my other computers have this problem.
Does it connect or fail? If it fails I would look at the /etc/hosts file
on deadsoul to see if all names are listed for fallout:
192.168.1.1 fallout fallout.the-arcanum.org
You could get away with just fallout since everything else is in your zone
files.
Make sure that /etc/resolv.conf starts with the line
hosts, dns
which will resolve names first from /etc/hosts, then from the zone files.
HTH
> In my bind configuration I have a cname setup for www to point to
> fallout, as well as ftp, mail, smtp, and ldap.
>
> If I ssh to any of the cnames instead of fallout directly it works fine,
> instantly. Or if I ssh to fallout.the-arcanum.org using the full domain
> name then it works fine.
>
> However fallout alone takes forever.
> This only happens between fallout and deadsoul.
> Deadsoul doesn't have that problem to either soulblighter or taliesin,
> and neither taliesin or soulblighter have the problem with fallout or
> deadsoul.
>
> Can anyone think of why only fallout would be causing problems???
> Thank you for any help.
>
>
> Here are my config. files.
>
> ~~~~~~~~~~~~~~~ /etc/named.conf
>
>
> options {
> directory "/var/named";
>
> // query-source address * port 53;
> };
>
>
> zone "." IN {
> type hint;
> file "named.ca";
> };
>
> zone "1.168.192.in-addr.arpa" {
> type master;
> file "/var/named/192.168.1.rev";
> };
>
> zone "the-arcanum.org" {
> type master;
> file "/var/named/the-arcanum.org.hosts";
> };
>
> ~~~~~~~~~~~~~~~~~~~~ /var/named/192.168.1.rev
>
>
> $ttl 38400
> 1.168.192.in-addr.arpa. IN SOA fallout.the-arcanum.org.
> webmaster.the-arcanum.org. (
> 1007881968
> 10800
> 3600
> 604800
> 38400 )
> 1.168.192.in-addr.arpa. IN NS fallout.the-arcanum.org.
> 1.1.168.192.in-addr.arpa. IN PTR the-arcanum.org.
> 1.1.168.192.in-addr.arpa. IN PTR fallout.the-arcanum.org.
> 12.1.168.192.in-addr.arpa. IN PTR deadsoul.the-arcanum.org.
> 13.1.168.192.in-addr.arpa. IN PTR
> soulblighter.the-arcanum.org.
> 14.1.168.192.in-addr.arpa. IN PTR taliesin.the-arcanum.org.
>
>
> ~~~~~~~~~~~~~~~~~~~ /var/named/the-arcanum.org.hosts
>
> $ttl 38400
> the-arcanum.org. IN SOA fallout.
> webmaster.the-arcanum.org. (
> 1007882165
> 10800
> 3600
> 604800
> 38400 )
> the-arcanum.org. IN NS fallout.
> the-arcanum.org. IN A 192.168.1.1
> fallout.the-arcanum.org. IN A 192.168.1.1
> deadsoul.the-arcanum.org. IN A 192.168.1.12
> soulblighter.the-arcanum.org. IN A 192.168.1.13
> taliesin.the-arcanum.org. IN A 192.168.1.14
>
> www.the-arcanum.org. IN CNAME fallout
> mail.the-arcanum.org. IN CNAME fallout
> proxy.the-arcanum.org. IN CNAME fallout
> smtp.the-arcanum.org. IN CNAME fallout
>
>
--
Patrick Fleming, EA
Licensed to represent taxpayers
before Exam, Appeals, and Conference
divisions of the IRS