Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7185

Re: Validating string for FDQN

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!shaftesbury.zen.co.uk.POSTED!not-for-mail
From Nobody <nobody@nowhere.com>
Subject Re: Validating string for FDQN
Date Tue, 07 Jun 2011 21:46:04 +0100
User-Agent Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)
Message-Id <pan.2011.06.07.20.45.52.953000@nowhere.com>
Newsgroups comp.lang.python
References <d30814aa-494f-457f-8a56-5ebe802f4725@z7g2000prh.googlegroups.com> <pan.2011.06.07.05.23.21.453000@nowhere.com> <mailman.2521.1307425928.9059.python-list@python.org>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Lines 18
Organization Zen Internet
NNTP-Posting-Host 14724863.news.zen.co.uk
X-Trace DXC=hBKDhcJ[9]8<\dXg9]Wc52nok4Z\<mH49hDU:2=XKPk8REYPL>OSV:6QOMCU8L]Sh7f;b2OQKe8d4
X-Complaints-To abuse@zen.co.uk
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:7185

Show key headers only | View raw


On Tue, 07 Jun 2011 15:52:05 +1000, Chris Angelico wrote:

>> [1] If a hostname ends with a dot, it's fully qualified.
> 
> Outside of BIND files, when do you ever see a name that actually ends
> with a dot?

Whenever it is entered that way.

This may be necessary on complex networks with local subdomains, i.e.
where resolv.conf has "options ndots:2". E.g. "foo.it" might resolve to
"foo.it.bar.edu" (in bar.edu's IT department's subdomain), requiring a
trailing dot if you want the Italian site "foo.it".

The canonical real-world example of this used to be foo.cs resolving to
foo.cs.berkeley.edu (UCB Comp. Sci. department), but ever since .cs split
into .cz and .sk it's no longer ambiguous.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Validating string for FDQN Eric <eric.wong.t@gmail.com> - 2011-06-06 17:40 -0700
  Re: Validating string for FDQN harrismh777 <harrismh777@charter.net> - 2011-06-06 20:55 -0500
  Re: Validating string for FDQN Chris Angelico <rosuav@gmail.com> - 2011-06-07 12:50 +1000
  Re: Validating string for FDQN Philip Semanchuk <philip@semanchuk.com> - 2011-06-06 23:10 -0400
  Re: Validating string for FDQN Nobody <nobody@nowhere.com> - 2011-06-07 06:23 +0100
    Re: Validating string for FDQN Chris Angelico <rosuav@gmail.com> - 2011-06-07 15:52 +1000
      Re: Validating string for FDQN Chris Torek <nospam@torek.net> - 2011-06-07 06:20 +0000
      Re: Validating string for FDQN Nobody <nobody@nowhere.com> - 2011-06-07 21:46 +0100

csiph-web