Provide SSH to someone w/ dynamic IP address {Scanned}

Reuben D. Budiardja techlist at voyager.phys.utk.edu
Thu Sep 9 18:57:00 UTC 2004


On Wednesday 08 September 2004 21:14, Benjamin J. Weiss wrote:
> On Wed, 8 Sep 2004, Reuben D. Budiardja wrote:
> > > sshd: remotesysname.dyndns.org
> >
> > I don't think that would work. If I understand thing correctly, if you
> > have domain name in /etc/hosts.allow, tcpwrappers will do a reverse
> > lookup to see if it match with anything in /etc/hosts.allow. This will
> > give back the dynamic name (ie xxxxxxdialup-xx.xx.comcast.com), not the
> > name you register with dyndns.org (no PTR record for that), and thus not
> > match with in /etc/hosts.allow.
> >
> > Anyway, I tried it and it didn't work. Someone correct my explanation if
> > I'm wrong please.
>
> I think it would work if you pointed your nameserver entries in your
> /etc/resolv.conf file to the name servers of the dydns.org.  Then the
> reverse lookup *should* work, I think.

Nope, that doesn't work either. I added ns2.dyndns.org IP address to 
/etc/resolv.conf and put it as the first entry, and still no luck. Reversing 
address still point to the name as stated in PTR record, which makes sense to 
me.

RDB

-- 
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennesse, Knoxville, TN

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++ 
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+ 
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------





More information about the redhat-list mailing list