N
Nitro
Hi,
I have a windows2000 domain with DNS and DHCP on my servers
From a notebook I need to resolve an internal Host name in different ways
depending if notebook is connected to my windows domain or if notebook is
connected to internet using a dial-up modem connection (in the latter
situation notebook is disconnected from my domain also)
Is it possible to have the following situations 1 and 2 without changing
notebook configuration every time ?
1) Notebook connected to my win domain :
PING BINGO
Reply from 172.20.1.20
Reply from 172.20.1.20
......
...
2) Notebook disconnected from my win domain
PING BINGO
Reply from 62.110.138.50
Reply from 62.110.138.50
......
In situation 1, host name is resolved by internal DNS servers
In situation 2, internal DNS servers are not reachable so I tried using
HOSTS file , but after in situations 1 and 2 host BINGO is always resolved
to address specifed in HOSTS file.
In situation 1 I can resolve correctly host name if I use my domain
suffix :
PING BINGO.mydomain
Reply from 172.20.1.20
Reply from 172.20.1.20
......
...
But I need to ping BINGO and not BINGO.mydomain !
According to KB142309 name resolution order is :
1.. NetBIOS name cache
2.. WINS server
3.. B-node broadcast
4.. LMHOSTS file
5.. HOSTS file
6.. DNS server
To resolve host names I need to use DNS first, then HOSTS file and not the
contrary !
How can I sove this problem ?
How can I disable HOSTS file resolution when logged to my win domain ?
thanks in advance
Claude
I have a windows2000 domain with DNS and DHCP on my servers
From a notebook I need to resolve an internal Host name in different ways
depending if notebook is connected to my windows domain or if notebook is
connected to internet using a dial-up modem connection (in the latter
situation notebook is disconnected from my domain also)
Is it possible to have the following situations 1 and 2 without changing
notebook configuration every time ?
1) Notebook connected to my win domain :
PING BINGO
Reply from 172.20.1.20
Reply from 172.20.1.20
......
...
2) Notebook disconnected from my win domain
PING BINGO
Reply from 62.110.138.50
Reply from 62.110.138.50
......
In situation 1, host name is resolved by internal DNS servers
In situation 2, internal DNS servers are not reachable so I tried using
HOSTS file , but after in situations 1 and 2 host BINGO is always resolved
to address specifed in HOSTS file.
In situation 1 I can resolve correctly host name if I use my domain
suffix :
PING BINGO.mydomain
Reply from 172.20.1.20
Reply from 172.20.1.20
......
...
But I need to ping BINGO and not BINGO.mydomain !
According to KB142309 name resolution order is :
1.. NetBIOS name cache
2.. WINS server
3.. B-node broadcast
4.. LMHOSTS file
5.. HOSTS file
6.. DNS server
To resolve host names I need to use DNS first, then HOSTS file and not the
contrary !
How can I sove this problem ?
How can I disable HOSTS file resolution when logged to my win domain ?
thanks in advance
Claude