Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux DNS Client Against Windows 2000 DNS Server

Reply
Thread Tools Display Modes

Linux DNS Client Against Windows 2000 DNS Server

 
 
Daniel Rigal
Guest
Posts: n/a

 
      06-14-2004, 04:20 PM
Hi everybody,

How weird is this?

I installed a Linux server for the company Intranet (SuSE 9.1 Pro) and
gave it a static IP address. I set up the Linux box to use our Windows
2000 Active Directory server for its DNS and that is where it gets
weird. It almost works. DNS works fine as far as external (internet)
addreses are concerned. They are resolvable and pingable. It is only
internal addresses which are problematic and even these are only
partially broken. "nslookup" works fine on an internal address when
run from the linux box. "host" works fine too. "dig" only works if you
give it a fully qualified domain name to look up but fails on an
unqualified one. The really annoying thing is that the command line
utilities like "ping" can't resolve internal addresses at all, whether
they are fully qualified or not, which makes life rather difficult.

Before anybody asks, I don't think I have done anything stupid setting
it up. There is only one DNS server listed and nsswitch.conf is set up
to use DNS for host resolution.

Does anybody have a clue what could be going on? Does anybody else
have similar issues, or must I have done something silly to mess it
up? I know that people mistrust the Windows 2000 DNS server but, given
that "nslookup" and "host" can resolve against it, you would think
that everything else could too? Do they use different methods to query
the DNS server?

Any suggestions for resolving this would be appreciated.

Regards,

Daniel Rigal MSc.
 
Reply With Quote
 
 
 
 
Gareth Ansell
Guest
Posts: n/a

 
      06-15-2004, 08:27 AM
On Mon, 14 Jun 2004 09:20:56 -0700, Daniel Rigal wrote:

> Hi everybody,
>
> How weird is this?
>

"dig" only works if you
> give it a fully qualified domain name to look up but fails on an
> unqualified one.


That's right - IIRC dig always requires a FQDN.

> The really annoying thing is that the command line utilities like "ping"
> can't resolve internal addresses at all, whether they are fully
> qualified or not, which makes life rather difficult.


I take it that your resolv.conf file is correct. Are your resolver
libraries OK?


--
Gareth Ansell
UNIX Team
Computing Services
Coventry University
 
Reply With Quote
 
Robert A. Reissaus
Guest
Posts: n/a

 
      06-15-2004, 12:19 PM
I have, more or less, the same problem. Only I am using WYP Sp1a Which
doesn't the Windows->Linux problem. But I do have the same problem
between SuSE 9.1 and SuSE 9.0. I believe it is caused by SuSE 9.1
using only IPv6 and addressing interfaces by a hardware address
instead of an interface name. I say this because after having
installed SuSE 9.1 Pro on another machine the problem no longer exists
between those two. I am not sure about WY2K, but the problem would
probably go away if you there would be a IPv6 path.

(b.t.w. I noticed that I suddenly have another route added (to
169.254.0.0 -> to internal card) which has nothing to do with my
network; do you have the same?)

Regards,
Robert A. Reissaus
(E-Mail Removed)
IBM/Informix Consultants fot the BeNeLux
---


(E-Mail Removed) (Daniel Rigal) wrote in message news:<(E-Mail Removed). com>...
> Hi everybody,
>
> How weird is this?
>
> I installed a Linux server for the company Intranet (SuSE 9.1 Pro) and
> gave it a static IP address. I set up the Linux box to use our Windows
> 2000 Active Directory server for its DNS and that is where it gets
> weird. It almost works. DNS works fine as far as external (internet)
> addreses are concerned. They are resolvable and pingable. It is only
> internal addresses which are problematic and even these are only
> partially broken. "nslookup" works fine on an internal address when
> run from the linux box. "host" works fine too. "dig" only works if you
> give it a fully qualified domain name to look up but fails on an
> unqualified one. The really annoying thing is that the command line
> utilities like "ping" can't resolve internal addresses at all, whether
> they are fully qualified or not, which makes life rather difficult.
>
> Before anybody asks, I don't think I have done anything stupid setting
> it up. There is only one DNS server listed and nsswitch.conf is set up
> to use DNS for host resolution.
>
> Does anybody have a clue what could be going on? Does anybody else
> have similar issues, or must I have done something silly to mess it
> up? I know that people mistrust the Windows 2000 DNS server but, given
> that "nslookup" and "host" can resolve against it, you would think
> that everything else could too? Do they use different methods to query
> the DNS server?
>
> Any suggestions for resolving this would be appreciated.
>
> Regards,
>
> Daniel Rigal MSc.

 
Reply With Quote
 
Villy Kruse
Guest
Posts: n/a

 
      06-15-2004, 12:45 PM
On 15 Jun 2004 05:19:21 -0700,
Robert A. Reissaus <(E-Mail Removed)> wrote:


>
> (b.t.w. I noticed that I suddenly have another route added (to
> 169.254.0.0 -> to internal card) which has nothing to do with my
> network; do you have the same?)
>



If a MSwindows system is configured for DHCP and it can't find a DHCP
server it will use one of these 169.254 IP addresses selected at random.
By using the ARP protocol, or something similar, duplicate IP numbers
are avoided.

Such addresses are supposed to be used on the local ethernet section only,
so the route is there to allow your system to communicate with these
MSwin systems.


Villy
 
Reply With Quote
 
Daniel Rigal
Guest
Posts: n/a

 
      06-16-2004, 08:44 AM
Gareth Ansell <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> > The really annoying thing is that the command line utilities like "ping"
> > can't resolve internal addresses at all, whether they are fully
> > qualified or not, which makes life rather difficult.

>
> I take it that your resolv.conf file is correct.


Yes, I think so. It is very simple:

nameserver 192.168.100.1
search ourdomain.local

The IP address is the correct IP of the Windows 2000 DNS and Active
Directory server. ourdomain.local is the correct name of the DNS/AD
domain.

I added Read access for "everybody" to the ACL for the local DNS
domain on the Windows 2000 server. That didn't help, even after
restarting the DNS service.

nsswitch.conf is set up to resolve hosts through "files dns". Swapping
it round to "dns files" doesn't make any difference.

> Are your resolver
> libraries OK?


How can I tell? I have not fiddled with them. They are the standard
ones for SUSE 9.1 (fully patched).

Regards,

Daniel.
 
Reply With Quote
 
Jan Geertsma
Guest
Posts: n/a

 
      06-16-2004, 02:24 PM
DNS servers and searchorder should be specified in /etc/resolve.conf


Daniel Rigal wrote:

> Hi everybody,
>
> How weird is this?
>
> I installed a Linux server for the company Intranet (SuSE 9.1 Pro) and
> gave it a static IP address. I set up the Linux box to use our Windows
> 2000 Active Directory server for its DNS and that is where it gets
> weird. It almost works. DNS works fine as far as external (internet)
> addreses are concerned. They are resolvable and pingable. It is only
> internal addresses which are problematic and even these are only
> partially broken. "nslookup" works fine on an internal address when
> run from the linux box. "host" works fine too. "dig" only works if you
> give it a fully qualified domain name to look up but fails on an
> unqualified one. The really annoying thing is that the command line
> utilities like "ping" can't resolve internal addresses at all, whether
> they are fully qualified or not, which makes life rather difficult.
>
> Before anybody asks, I don't think I have done anything stupid setting
> it up. There is only one DNS server listed and nsswitch.conf is set up
> to use DNS for host resolution.
>
> Does anybody have a clue what could be going on? Does anybody else
> have similar issues, or must I have done something silly to mess it
> up? I know that people mistrust the Windows 2000 DNS server but, given
> that "nslookup" and "host" can resolve against it, you would think
> that everything else could too? Do they use different methods to query
> the DNS server?
>
> Any suggestions for resolving this would be appreciated.
>
> Regards,
>
> Daniel Rigal MSc.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating to Windows Server 2003 from Windows Server 2000 and using Remote Desktop Client Navodit Windows Networking 1 09-13-2006 07:38 PM
Windows 2000 client can't map network drive on windows server 2003 John Xie Windows Networking 1 05-31-2005 04:07 PM
Cannot Join Windows 2000 Client to Windows Server 2003 Domain Nicholas White Windows Networking 1 05-03-2004 01:23 PM
Linux Server and Windows 2000 Server Working Together - Advice Please Pete Mandracchia Linux Networking 4 12-13-2003 11:40 PM
Safe to use Windows 98 as a Windows 2000 Terminal Server client? John R. Bennett Windows Networking 1 11-03-2003 05:33 PM



1 2 3 4 5 6 7 8 9 10 11