Hi,
Another day, another question regarding linux.
I have 2 server running. One is linux based and the other one is windows server 2003 based.
Linux box is called : aps02 and adress is : 10.2.100.20
Windows box : bas02 and adress is : 10.2.100.30
From the Windows box, I can do :
ping aps02 --> perfect
ping aps02.net2.xxx --> perfect
ping 10.2.100.20 --> perfect
No problems at all there.
From the Linux box :
ping bas02
ping: unknown host bas02 --> WRONG
ping 10.2.100.30 --> perfect
ping bas02.net2.xxx --> perfect
Files from the linux configuration :
/etc/hosts
Code:
127.0.0.1 aps02.net2.irg aps02 localhost.localdomain localhost
/etc/resolv.conf
Code:
search xxxx.com
nameserver 10.2.100.20
Now, with the host cmd :
[root@irgaps02 log]# host bas02.net2.xxx
bas02.net2.xxx has address 10.2.100.30
Dig :
Code:
dig bas02.net2.xxx
; <<>> DiG 9.2.1 <<>> bas02.net2.xxx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21416
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;bas02.net2.xxx. IN A
;; ANSWER SECTION:
bas02.net2.xxx. 86400 IN A 10.2.100.30
;; AUTHORITY SECTION:
net2.xxx. 86400 IN NS aps02.net2.xxx.
;; ADDITIONAL SECTION:
aps02.net2.xxx. 86400 IN A 10.2.100.20
;; Query time: 1 msec
;; SERVER: 10.2.100.20#53(10.2.100.20)
;; WHEN: Wed Sep 14 15:06:57 2005
;; MSG SIZE rcvd: 90
To summarize, i need to acces bas02 from my network. For some reason, bas02.net2.xxx is accessible but not bas02 ?!
Anyone can point me to a config file where I could fix that problem ?
Or is that a problem that is in my Windows box ?