LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2005, 09:03 AM   #1
b:z
Member
 
Registered: Mar 2005
Posts: 146

Rep: Reputation: 15
Why i have to fill DNS on client? -- Please help me


This is the network diagram:

<<<Internet>>>-------<<eth0+++eth1>>----<<LAN>>---<Active Directory>

Internet: ADSL (1)
eth0-eth1: Linux Gateway configured with DNS: abc.com (2)
LAN: Clients join to domain configured on Active Directory with DNS: xyz.com (3)
Active Directory: Windows 2003 (configured DNS: xyz.com) (4)

Clients (3) in local network use Internet through Squid proxy on Linux Gateway (2). Everything seem working well, however if client doesn't fill DNS address of Active Directory_win2k3 (4), they won't mount network drive from server run Active Directory (script log on and log off. Log on script mount the network drive for every departments). But when client fill DSN address of (4), they can mount the drives.
So, why i have to fill DNS address for very client? Are there solutions to solve it? It means every clients don't need to fill DNS address, but they can mount network drives from (4) with domain xyz.com.

Please help me solve the problem. Thank you very much
 
Old 04-04-2005, 09:35 AM   #2
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
I'm not quite sure I understand but I'll give it a shot. So, you are saying that you are calling xyz.com via the domain name and not the IP, right? What you need to do is setup your Active directory server to act as a caching name server, or authoritative, whichever you want, and then in your resolv.conf file add the following:

search [YOUR WINDOWS DOMAIN]
nameserver [YOUR NS1 IP]
nameserver [YOUR NS2 IP (optional)]

What that will do is tell the box where to go for naming information, and it will then resolve xyz.com to the appropriate IP address and be able to mount shares without needing to specify addresses each time. Does that answer your question?
 
Old 04-04-2005, 10:01 AM   #3
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
Thanks for your reply,

2 domains that configured only run on local network. Not query together or Internet outside. Active Directory has domain 'xyz.com' because it is the first server, after that i have purchased Linux server and i have configured it with domain 'abc.com' with Gateway role. Now, i have 2 DNS in localnetwork and all clients only join to Windows 2k3 (Active Directory).

Is that clear for you. Please give me your idea. Thank you very much.
 
Old 04-04-2005, 12:24 PM   #4
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
It's clear, yeah, but I don't think I can help. I haven't done what you are trying to do before, I thought it was something else.
 
Old 04-04-2005, 05:08 PM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If the logon script is using fully qualified domain names to mount the shares on file servers then obviously the clients needs the DNS to resolve these name.
Simply add these host records to whichever DNS server your clients are using, or just sync the zone data.
 
Old 04-04-2005, 11:56 PM   #6
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
Quote:
If the logon script is using fully qualified domain names to mount the shares on file servers then obviously the clients needs the DNS to resolve these name.
Simply add these host records to whichever DNS server your clients are using, or just sync the zone data.
Can you give me an example for your idea.
Thanks so much.
 
Old 04-19-2005, 04:59 AM   #7
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
Please help me, i really need your answer.
My network seems slow down when all client poited to my Win2k3 server when they surf web.
Please.
 
Old 04-19-2005, 05:44 AM   #8
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
Originally posted by b:z
Thanks for your reply,

2 domains that configured only run on local network. Not query together or Internet outside. Active Directory has domain 'xyz.com' because it is the first server, after that i have purchased Linux server and i have configured it with domain 'abc.com' with Gateway role. Now, i have 2 DNS in localnetwork and all clients only join to Windows 2k3 (Active Directory).

Is that clear for you. Please give me your idea. Thank you very much.
Your post is still confusing. But if I'm understanding it correctly, it sounds like you need to join your linux box into your AD domain (as a member) using the same domain name as your Winders server. See: http://us3.samba.org/samba/docs/man/...tml#ads-member

As for setting the DNS server. Are you running a DHCP server on your LAN? If so, is it configured to return your DNS servers so all clients automagiacally configure themselves with the proper DNS servers?
 
Old 04-19-2005, 05:56 AM   #9
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
Quote:
Your post is still confusing. But if I'm understanding it correctly, it sounds like you need to join your linux box into your AD domain (as a member) using the same domain name as your Winders server. See: http://us3.samba.org/samba/docs/man...html#ads-member

As for setting the DNS server. Are you running a DHCP server on your LAN? If so, is it configured to return your DNS servers so all clients automagiacally configure themselves with the proper DNS servers?
Noway to solve the problem, exclude join my Linux gateway which running others DNS to Win2k3 Domain Controller. I want them can be separate.
And problem here:

+ Win2k3 server:
- DNS: xyz.com
- Service: AD, DNS, File Sharing

+ Linux Gateway
- DNS: abc.com
- Service: DHCP, Squid, BIND, ...

* When filling DNS of win2k3 for all clients, they can map all network drives on win2k3 server, however they can't use POP3, and must put proxy if they want to use YM and others
* And in case, they fill DNS of Linux gateway for all clients, they can access POP3, no need to fill proxy for YM or others, however they can't map network drives from win2k3 server.
* Another canse, filling two DNS for all clients, if the "Primary DNS" is DNS of Win2k3, reach to the first case, or "Primary DNS" is DNS of Linux gateway , reache to second case.

Please show me the mistake here. Thank you very much.
 
Old 04-19-2005, 07:16 AM   #10
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
I can't be sure here, but it sounds like you need to implement bind "views" (thats what I do). With bind "views", you would have an internal view that returns private (rfc1918) address range for clients behind the firewall and public address space for external cleints. By doing do, there is no need for your firewall to re-map an internal client (asking for the external public ip of your firewall) back to a private address space. Or in your case (if I understand correctly) the proxy is doing the re-mapping.
 
Old 04-19-2005, 07:35 AM   #11
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
This is more information of tracert command on client:

First case:
Quote:
* When filling DNS of win2k3 for all clients, they can map all network drives on win2k3 server, however they can't use POP3, and must put proxy if they want to use YM and others
Tracert result:
c:\tracert -d www.microsoft.com
Unable to reslove the target system named www.microsoft.com

Second case:
Quote:
* And in case, they fill DNS of Linux gateway for all clients, they can access POP3, no need to fill proxy for YM or others, however they can't map network drives from win2k3 server.
Tracert result:
c:\tracert -d www.microsoft.com
Tracing route to www.microsoft.com.nsatc.net [207.46
over a maximum of 30 hops:

1 <1 ms 1 ms <1 ms 192.168.1.1
2 * * * Request timed out.
3 * * * Request timed out.
4 ^C

Please show me the mistake, and please help me. Thank you very much.

Note: 192.168.1.1 is IP address of Linux DNS.

Last edited by b:z; 04-19-2005 at 07:37 AM.
 
Old 04-19-2005, 09:03 PM   #12
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
Please help me.
I also try to fill DNS into /etc/dhcpd.conf
Quote:
#
ddns-update-style interim;
ignore client-updates;
#
subnet 192.168.1.0 netmask 255.255.255.0 {
#
# --- default gateway
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
#
# option nis-domain "domain.org";
option domain-name "abc.com";
option domain-name-servers 192.168.1.2, 192.168.1.1;
#
option time-offset -18000; # Eastern Standard Time
option ntp-servers 192.168.1.1;
# option netbios-name-servers 192.168.1.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
#
range dynamic-bootp 192.168.1.20 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;
}
Please help,
Thank you very much
 
Old 04-20-2005, 06:27 AM   #13
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
Please help me.
I need your help. My network is too slow.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
dns client resolver Fraudulent SUSE / openSUSE 2 05-17-2005 10:12 AM
Why i must fill DNS ? b:z Linux - Networking 2 03-22-2005 02:07 AM
adding a DNS client darthczyz Linux - Networking 2 12-23-2003 07:47 AM
Client to use Dynamic DNS afuchigami Linux - Networking 11 01-13-2003 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration