On Thu, 2002-05-09 at 10:18, David Rankin wrote:
> Well, I should have been more clear, and maybe the problem isn't as simple
> as I thought. On my 7.2 box, #ServerName your.server.name is still commented
> out, but apache is able to use gethostbyname() and correctly fill in the
> welcome screen in apache.
>
> In 8.2, something is fishy.
>
> [Skyline] # hostname
> Skyline.3111Skyline.com
>
> That looks OK
>
> [Skyline] # hostname --fqdn
> Unknown host
>
> That looks bad
>
> So it seems the problem with apache isn't with apache or httpd.conf, but
> rather with my hostname setup. I have set hostname and domainname, and I can't
Looks like a DNS - bind - network configuration problem. "hostname"
alone takes your host's name from a file, while the fqdn option tells
hostname to do a DNS lookup.
Does the output to dig slashdot.org look similar to this?
; <<>> DiG 9.2.0rc3 <<>> slashdot.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48421
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
;; QUESTION SECTION:
;slashdot.org. IN A
;; ANSWER SECTION:
slashdot.org. 7930 IN A 64.28.67.150
...
And of course you should "dig" yourself:
$ dig Skyline.3111Skyline.com
; <<>> DiG 9.2.0rc3 <<>> Skyline.3111Skyline.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 39873
^^^^^^^^
I think this -------------------------- is your problem.
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;Skyline.3111Skyline.com. IN A
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com