![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NTP server with aix & wintel clients | chongkls77 | AIX | 0 | 09-05-2007 09:53 PM |
| BOOTP on HP Thin clients | chuk_uka | Linux | 2 | 01-30-2006 04:21 AM |
| Multihomed Client | mhynes | High Level Programming | 0 | 08-30-2005 12:29 PM |
| Please help.Thin clients connecting to SCO. | Chaitu.a | SCO | 1 | 07-18-2005 07:59 AM |
| FTP from AIX to 20 Windows clients | sharuvman | Shell Programming and Scripting | 2 | 03-28-2003 06:40 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
hello,
i think -- the query resolution determine by the nameserver order. from a fresh (has not been cached yet) its impossible to be a directed query to a specific NS. example : the /etc/resolv.conf contains this : nameserver ns01.abc.com nameserver ns02.def.com client1.abc.com will automatically query the first nameserver which is ns01.abc.com -- by that if it doesnt find the answer -- go to ns02.def.com, bang -- it has the answer -- cached - since then no longer need NS. but -- BTW, i'm wondering what kind of problem do you have? cheers. |
|
|||||
|
This is a better topic than many people pick. We get a lot of "help me" or "problem" topics...
It only goes to the next nameserver if the first does not respond...they must be co-equals. With nsswitch.conf you can check a local host file first. So I have done this... 1 local host file 2 private dns server 3 private dns server uses normal dns protocol for domains for which it is not authorative. |
|
|||||
|
Continued...
Thanks for the replies.
![]() I have a few different situations in which I'm trying to set this up, but I'll give a more concrete example: my parent's network connecting to my network via OpenVPN. I have a network in 192.168.20.0/24 and my parents are in 192.168.2.0/24 and OpenVPN connects both sites over DSL lines. I run my own DNS server for internal name resolution with my internal domain being myplace.priv. My parents have a DNS server and their internal domain is parents.priv. I'd like for them to be able to resolve intranet.myplace.priv as well as parentnet.parents.priv using just the hostname. For example, if they type: http://intranet into Firefox, they should ideally get to intranet.myplace.priv as long as the OpenVPN connection is up. In the event that it's down, I don't mind if they can't get there. But I'd still like them to be able to access their own site at http://parentnet. The problem I've run into in the past is that they've needed to use the FQDN to access resources on my network if I set their 'search' option as 'search parentnet.parents.priv' or as the case may be, have DHCP push that out. And this is what I'm asking for... a way for the query to fail within one domain and pass onto the next before heading out the door to the ISP DNS server (where it should fail as well since this is all private internal stuff). Ideally, if they ask for http://intranet and that host or alias only exists in my domain, then it should fail for their domain. So maybe the search order matter first? I'm still not sure if I'm explaining this clearly. I just really want to avoid having to pull them into my domain. But maybe that's the way to go with them as a secondary to my master... |
|
||||
|
hello,
OK, 1. create a secondary of myplace.priv at parent.priv's NS. (and vice versa if you like). 2. or a stub pointing authoritative NS for myplace.priv at parent.priv's NS. 2. this config should make the clients not querying ISP's NS (except for the internet) -- unless you created mistakes. cheers. Last edited by stdout; 04-12-2007 at 09:02 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|