Re: SSHD + reverse IP Mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Ow Mun Heng" <ow.mun.heng@xxxxxxx>
> > From: jdow [mailto:jdow@xxxxxxxxxxxxx]
> > > Pinging pc1.com [192.168.0.156] with 32 bytes of data
> > > Reply from 192.168.0.156: bytes=32 time<10ms TTL=128
> > >
> > > ping pc-wan-link.com [192.168.0.156] with 32 bytes of data
> > > Reply from 192.168.0.156: bytes=32 time<10ms TTL=128
> > >
> > > See.. Same IP, diff Hostname
> >
> > This is a very normal effect. There are canonical names and aliases
> > in DNS servers. There are various reasons for doing this, too. It's
> > a "not a worry at all."
>
> Unfortunately, that's not true. That's actually My Desktop PC's(win2K) IP.
> Under control panel, the name is actually pc1.com
>
> I have only 1 eth card in this pc. I don't think it's aliased.

If you are running DHCP then it may have several names. And the name
YOU put on it means nothing when polling DNS servers.

> > > [shrike@shrike log]$ host 192.168.0.156
> > > 156.0.168.192.in-addr.arpa domain name pointer pc-wan-link.com.
> >
> > OK, this is one interface with two addresses. The pc-wan-link.com is
> > the canonical (real) address. The other one is an alias for
> > convenience.
> > (If it reads "pc1.com", though, it is setup very badly unless your
> > address is REALLY 216.157.4.105. I hope that was simply for
> > illustration.
> > Otherwise you are banned from the pc1.com domain, probably no
> > great loss.
> > It's current owner has it up for sale.)
>
> the pc-wan-link.com name is what's in the DNS records of the corporate
> DNS server.
>
> pc1.com (that's actually just for illustration) is the hostname set under
> my PC. (win2K)
>
> Linux queries the DNS server for reverse IP mapping to hostname. HEnce I
> think
> that's why LInux gets pc-wan-link.com as the hostname for the IP.

If you are on a DHCP network then the name you put on your machine
is meaningless to the network unless the machine tries to and is
allowed to inform the DNS server of its preferred alias. The name
you picked is VERY bad.

> > See above. It's purely an aliasing thing. I have a machine setup with
> > both multiple names for the same IP address and multiple IP addresses
> > for the same NIC.
>
> Again.. I don't think so.. actually you know what? I don't even know how
> to setup aliases under win2k

YOU don't. The DNS server sets up the multiple DNS addresses you
seem to have.

> > I doubt it, too, if they REALLY call your machine pc1.com as an alias.
> > They are setup "technically" very badly. That would indicate their
> > being freewheeling screwups.
>
>
> Well, They are calling my pc as pc-wan-link in DNS records and pc1.com
> under control panel->network properties.

"They?" That is the way your IT folks set you up? Brainless duds they are.

{^_^}


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux