It depends on the order you have in the nsswitch.conf file.
i have in a default mdk setup:
hosts: files nisplus nis dns
This means that gethostname will check your hostsfiles first.. Then it'll
check nis services and lastly it'll check via bind in the order you have
listed your
Hmm.., but what if I have BIND running and host.resolve set to BIND, hosts?
James wrote:
Ok did a test. and got the following.
If you have something like this in /etc/hosts.
10.0.0.1 my.box.com my
where 10.0.0.1 is your IP number, my.box.com is the full name of the
box, and my is the
Ok, I'll dig into that. My 7.2 box is running right now and it 'digs' just fine.
I'll crank up 8.2 when I get home and see whats up:
[david@Nemesis david]$ dig 3111skyline.com
; DiG 8.2 3111skyline.com
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY,
That one I don't have and will have to rely on someones else to be able
to duplicate.
James
On Fri, 10 May 2002 16:32:55 -0500
David Rankin [EMAIL PROTECTED] wrote:
Hmm.., but what if I have BIND running and host.resolve set to BIND,
hosts?
James wrote:
Ok did a test. and got the
I'd try looking in the /etc/hosts file
On Thursday 09 May 2002 18:29, David Rankin wrote:
Just a quick Q, because I'm suffering from a mental lapse.
I'm getting Apache configured on 8.2. The SERVER_NAME variable in
the default Welcome screen is pulling 127.0.0.1 instead of the actual
In httpd.conf off course.
David Rankin wrote:
Just a quick Q, because I'm suffering from a mental lapse.
I'm getting Apache configured on 8.2. The SERVER_NAME variable in
the default Welcome screen is pulling 127.0.0.1 instead of the actual
host name. Hostname is working fine. Where do I
On Thu, 2002-05-09 at 06:29, David Rankin wrote:
Just a quick Q, because I'm suffering from a mental lapse.
I'm getting Apache configured on 8.2. The SERVER_NAME variable in
the default Welcome screen is pulling 127.0.0.1 instead of the actual
host name. Hostname is working fine. Where
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.
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
On mine, I have a server with multiple hostnames. So Apache was getting
soem strange results. I set mine in /etc/httpd/httpd.conf (on LM 8.1).
The setting is near the top, and is commented out by default. I
uncomment it, and put the hostname I want in the ServerName entry. Like so:
ServerName
Then I screwed my eyes back in, and re-read the question.
You're right, you have aDNS problem.
What's in /etc/hosts ?
Ric Tibbetts wrote:
On mine, I have a server with multiple hostnames. So Apache was getting
soem strange results. I set mine in /etc/httpd/httpd.conf (on LM 8.1).
The
try a
man hosts
it's the local static table lookup for host names..
/bo
On Friday 10 May 2002 00:26, Ric Tibbetts wrote:
Then I screwed my eyes back in, and re-read the question.
You're right, you have aDNS problem.
What's in /etc/hosts ?
Ric Tibbetts wrote:
On mine, I have a server
12 matches
Mail list logo