[cups.general] short host name versus FQDN in Allow directives
Matthias Czapla
dermatsch at gmx.de
Wed Jun 30 06:36:12 PDT 2004
On Wed, Jun 30, 2004 at 09:03:37AM -0400, Michael Sweet wrote:
> >So I tried to put the short host name "ddm" in the Allow directive
> >and then it works. Why doesn't the FQDN work too? I have a local DNS
> >server running and so far it has worked without troubles, i.e. I can
> >lookup host names and IPs forward and reverse:
> >
> ><root at ddm /etc/cups>host ddm
> >ddm.fick.xxx has address 192.168.128.1
> ><root at ddm /etc/cups>host ddm.fick.xxx
> >ddm.fick.xxx has address 192.168.128.1
> ><root at ddm /etc/cups>host 192.168.128.1
> >1.128.168.192.in-addr.arpa domain name pointer ddm.fick.xxx.
> >
> >Of course this is all not a super big problem because I could just
> >use the short names, but shouldn't the FQDN work exactly the same?
>
> It should - check the /etc/hosts file on your server and make sure
> that the short hostname isn't listed there...
It isn't. Here is my /etc/hosts:
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Regards
Matthias
More information about the cups
mailing list