FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 04-25-2008, 11:06 AM
David Timms
 
Default s-c-network: legit hosts file entries

I was about to file a bz about how system-config-network doesn't like a
legit /etc/hosts file. It complains:

wrong hostname
wrong alias
, to stuff that I think is legit:

192.168.32.3 ldap.myweb.com.au ldap
_ldap._tcp.dc._msdcs.ldap.myweb.com.au #openldap ldap !what outlook
looks for!

#192.168.32.209
192.168.16.210 mirror.myweb.com.au mirror rsyncbackup
infrastructure-server #RsyncBackup Mirror Tsunami Dreamives
###old192.168.32.211 mirror-old.myweb.com.au mirror-old #ex-novell
server pentium II 350, scsi dr192.168.32.211 192.168.32.220
rea_dev.myweb.com.au READevPC #bedrock development

192.168.32.222 tp_conf #dt amx wireless (myweb)
192.168.32.227 tandberg-codec.myweb.com.au codec-meeting-large
tandberg-codec tandberg-codec-front codec- tandberg-mvp-3000
192.168.0.8 prints_1.myweb.com.au prints_1 #Dlink dp-300 print
server Canon ir800

192.168.0.11 accesspoint.myweb.com.au WAP_MYWEP_Wi #Access Point
192.168.0.228 crestron_c5.myweb.com.au crestron_c5 #Crestron dev
reserved
192.168.130.97 myweb_hotel-old myweb-hotel-old #swiftel adsl fixed ip #
mmserver:30315 player1..4 30316..9

##9000 myweb university #9876 #20077 #20090
#holytown
192.168.5.30 b_ga129_controlsys ga129b_controlsys
192.168.5.31 b_ga129_codec ga129_codec

- it dislikes [_] at all. [_ldap._tcp.dc._msdcs.ldap.myweb.com.au] is a
name that windows PC's lookup, and seems to be legit.


- it dislikes a trailing - in an alias.

Or is it just an overzealous parsing {in s-c-network} ?

{ Actually it was a previous s-c-n that screwed some of the entries up
in the first place}.


DaveT.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-25-2008, 11:22 AM
"Bill Crawford"
 
Default s-c-network: legit hosts file entries

On 25/04/2008, David Timms <dtimms@iinet.net.au> wrote:

> - it dislikes [_] at all. [_ldap._tcp.dc._msdcs.ldap.myweb.com.au] is a
> name that windows PC's lookup, and seems to be legit.
>
> - it dislikes a trailing - in an alias.

Both are rules of DNS, basically.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-25-2008, 11:22 AM
"Bill Crawford"
 
Default s-c-network: legit hosts file entries

On 25/04/2008, David Timms <dtimms@iinet.net.au> wrote:

> - it dislikes [_] at all. [_ldap._tcp.dc._msdcs.ldap.myweb.com.au] is a
> name that windows PC's lookup, and seems to be legit.
>
> - it dislikes a trailing - in an alias.

Both are rules of DNS, basically.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-25-2008, 12:23 PM
David Timms
 
Default s-c-network: legit hosts file entries

Bill Crawford wrote:

On 25/04/2008, David Timms <dtimms@iinet.net.au> wrote:


- it dislikes [_] at all. [_ldap._tcp.dc._msdcs.ldap.myweb.com.au] is a
name that windows PC's lookup, and seems to be legit.

- it dislikes a trailing - in an alias.


Both are rules of DNS, basically.


So the ms ldap {lookout client} lookups are not actually legit ? I am
not surprised.


And is only the trailing - not legitimate, or a - anywhere in the name ?

DaveT.

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-25-2008, 12:34 PM
Nigel Jones
 
Default s-c-network: legit hosts file entries

David Timms wrote:

Bill Crawford wrote:

On 25/04/2008, David Timms <dtimms@iinet.net.au> wrote:

- it dislikes [_] at all. [_ldap._tcp.dc._msdcs.ldap.myweb.com.au]
is a

name that windows PC's lookup, and seems to be legit.

- it dislikes a trailing - in an alias.


Both are rules of DNS, basically.


So the ms ldap {lookout client} lookups are not actually legit ? I am
not surprised.


And is only the trailing - not legitimate, or a - anywhere in the name ?

DaveT.


Microsoft do it right....

Per http://domainkeys.sourceforge.net/underscore.html
"Host names are not allowed to have underscores in them. In DNS, host
names are the name fields of A or MX records or the data fields of the
SOA and NS records. Thus, there are many DNS entries that are not
hostnames."


This may be why it doesn't it in /etc/hosts (it's refers to 'host' names).

-'s are valid in domain names. and yeah, most likely correct about them
not allowed at the end (it makes sense really).


- Nigel

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-25-2008, 05:08 PM
Bill Nottingham
 
Default s-c-network: legit hosts file entries

David Timms (dtimms@iinet.net.au) said:
> - it dislikes [_] at all. [_ldap._tcp.dc._msdcs.ldap.myweb.com.au] is a

That looks an awful lot like an mDNS name.

Bill

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-25-2008, 05:39 PM
Simo Sorce
 
Default s-c-network: legit hosts file entries

On Fri, 2008-04-25 at 13:08 -0400, Bill Nottingham wrote:
> David Timms (dtimms@iinet.net.au) said:
> > - it dislikes [_] at all. [_ldap._tcp.dc._msdcs.ldap.myweb.com.au] is a
>
> That looks an awful lot like an mDNS name.

No it is an SRV (service) record use for Microsoft Active Directory
domains.

But, it make no sense to put such a record in /etc/hosts, because etc
hosts is only about host names not service records, so that entry is
basically just useless in /etc/hosts.

(And _ is valid in the names for SRV records).

Simo.

--
Simo Sorce * Red Hat, Inc * New York

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 04-26-2008, 07:25 PM
Benny Amorsen
 
Default s-c-network: legit hosts file entries

David Timms <dtimms@iinet.net.au> writes:

> So the ms ldap {lookout client} lookups are not actually legit ? I am
> not surprised.

There are different rules for hostnames (something with an A record)
and other records in DNS. Hostnames have restrictions, but basically
anything goes for other records (except upper case ASCII matches lower
case ASCII). Windows looks up SRV records (using a standard actually,
this isn't a Microsoft-only thing.)


/Benny


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 06:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org