hidden hit counter
Help!

resolve name to IP outside domain

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> DNS RSS
Next:  separatin public domain , an private domain  
Author Message
puzzled newbie
External


Since: Mar 05, 2007
Posts: 3



PostPosted: Mon Mar 05, 2007 2:09 pm    Post subject: resolve name to IP outside domain
Archived from groups: microsoft>public>win2000>dns (more info?)


Hi all,

is it possible to set up my DNS server (W2K) on my .local domain so that
when clients type only "sitename" in a browser (no suffixes or anything)
the server resolves it to an IP address that isn't in the .local domain?

Kind regards
Back to top
Herb Martin
External


Since: Dec 31, 2006
Posts: 392



PostPosted: Mon Mar 05, 2007 2:09 pm    Post subject: Re: resolve name to IP outside domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"puzzled newbie" wrote in message

> Hi all,
>
> is it possible to set up my DNS server (W2K) on my .local domain so that
> when clients type only "sitename" in a browser (no suffixes or anything)
> the server resolves it to an IP address that isn't in the .local domain?

It's possible but it (probably) doesn't make much sense to do so.

(Create a zone name "sitename" -- create an A record with BLANK name
[i.e., same as parent] and give it the IP address you wish.)

You could probably stick this name in your own zone, since a machine will
(normally) append its own domain name.


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)
Back to top
puzzled newbie
External


Since: Mar 05, 2007
Posts: 3



PostPosted: Tue Mar 06, 2007 2:36 pm    Post subject: Re: resolve name to IP outside domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Herb Martin skrev:
> "puzzled newbie" wrote in message
>
>> Hi all,
>>
>> is it possible to set up my DNS server (W2K) on my .local domain so that
>> when clients type only "sitename" in a browser (no suffixes or anything)
>> the server resolves it to an IP address that isn't in the .local domain?
>
> It's possible but it (probably) doesn't make much sense to do so.
>
> (Create a zone name "sitename" -- create an A record with BLANK name
> [i.e., same as parent] and give it the IP address you wish.)
>
> You could probably stick this name in your own zone, since a machine will
> (normally) append its own domain name.
>
>

Yes, that's what I thought - but I have tried both, and no luck.
The IP address is pingable, and the service on it works fine if the IP
address is used, but the powers that be insists that the IP shouldn't be
used.
Back to top
Herb Martin
External


Since: Dec 31, 2006
Posts: 392



PostPosted: Tue Mar 06, 2007 2:36 pm    Post subject: Re: resolve name to IP outside domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"puzzled newbie" wrote in message

> Herb Martin skrev:
>> "puzzled newbie" wrote in message
>>
>>> Hi all,
>>>
>>> is it possible to set up my DNS server (W2K) on my .local domain so that
>>> when clients type only "sitename" in a browser (no suffixes or anything)
>>> the server resolves it to an IP address that isn't in the .local domain?
>>
>> It's possible but it (probably) doesn't make much sense to do so.
>>
>> (Create a zone name "sitename" -- create an A record with BLANK name
>> [i.e., same as parent] and give it the IP address you wish.)
>>
>> You could probably stick this name in your own zone, since a machine will
>> (normally) append its own domain name.
>>
>>
>
> Yes, that's what I thought - but I have tried both, and no luck.

Show the results of an NSLookup against your specific DNS server where
you added the record:

nslookup -time=10 sitename. IP.Address.DNS.Server
nslookup -time=10 sitename.domain.com IP.Address.DNS.Server
nslookup -time=10 -q=soa sitename. IP.Address.DNS.Server
nslookup -time=10 -q=soa sitename.domain.com IP.Address.DNS.Server

I put a "." at the end of the "sitename." to terminate it -- try it with and
without
it.

IF these don't work you have setup the records incorrectly.


> The IP address is pingable, and the service on it works fine if the IP
> address is used, but the powers that be insists that the IP shouldn't be
> used.

Generally you should have DNS names for most things, so nothing wrong
with that.


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)
Back to top
puzzled newbie
External


Since: Mar 05, 2007
Posts: 3



PostPosted: Tue Mar 06, 2007 3:47 pm    Post subject: Re: resolve name to IP outside domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Herb Martin skrev:
> "puzzled newbie" wrote in message
>
>> Herb Martin skrev:
>>> "puzzled newbie" wrote in message
>>>
>>>> Hi all,
>>>>
>>>> is it possible to set up my DNS server (W2K) on my .local domain so that
>>>> when clients type only "sitename" in a browser (no suffixes or anything)
>>>> the server resolves it to an IP address that isn't in the .local domain?
>>> It's possible but it (probably) doesn't make much sense to do so.
>>>
>>> (Create a zone name "sitename" -- create an A record with BLANK name
>>> [i.e., same as parent] and give it the IP address you wish.)
>>>
>>> You could probably stick this name in your own zone, since a machine will
>>> (normally) append its own domain name.
>>>
>>>
>> Yes, that's what I thought - but I have tried both, and no luck.
>
> Show the results of an NSLookup against your specific DNS server where
> you added the record:
>
> nslookup -time=10 sitename. IP.Address.DNS.Server
> nslookup -time=10 sitename.domain.com IP.Address.DNS.Server
> nslookup -time=10 -q=soa sitename. IP.Address.DNS.Server
> nslookup -time=10 -q=soa sitename.domain.com IP.Address.DNS.Server
>
> I put a "." at the end of the "sitename." to terminate it -- try it with and
> without
> it.

Ah - thanks for the "." hint - due to weird DNS design clients append
DNS suffix outside the domain.local - making a zone with the name of the
suffix and creating the host with BLANK name fixed it.

Thank you very much.
Back to top
al_rules
External


Since: Apr 18, 2007
Posts: 1



PostPosted: Wed Apr 18, 2007 3:38 am    Post subject: Re: resolve name to IP outside domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I have a similar (I think so anyway!) problem that hopefully might be
answered with a quick follow-on question.

We've a domain, say "trousers.com" and we have a Forward Lookup Zone
set up for our parent comany of, say "socks.biz"

We need to be able to resolve a "socks.biz" server without typing in
the suffix, but the way we have it set up, it doesn't do that.

For example:

ping sausages

won't resolve the name, yet:

ping sausages.socks.biz

does fine.

Is there any way we can get our DNS to automatically look in the
Forward Lookup Zone for an address before it stops trying?

The only way I can get it to work at the moment is adding a load of
CNAME records into the trousers.com zone, pointing to the records in
the "socks.biz" zone, but it's not really a satifactory solution.

Hope someone can help me!

AL.
Back to top
Herb Martin
External


Since: Dec 31, 2006
Posts: 392



PostPosted: Wed Apr 18, 2007 6:36 am    Post subject: Re: resolve name to IP outside domain [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

wrote in message

>I have a similar (I think so anyway!) problem that hopefully might be
> answered with a quick follow-on question.
>
> We've a domain, say "trousers.com" and we have a Forward Lookup Zone
> set up for our parent comany of, say "socks.biz"

So the DNS server has both DNS zones, or just the one "trousers.com"?

> We need to be able to resolve a "socks.biz" server without typing in
> the suffix, but the way we have it set up, it doesn't do that.

Being able to resolve a domain without the suffix is generally just to
allow your users to be LAZY -- this really has nothing to do with the
DNS resolution by the DNS Servers.

Just add the additional suffixex in the NIC->IP Advanced->DNS tab
of every client (or through a GPO etc.)

> For example:
>
> ping sausages

Why? You can do it, but this is not going to change how DNS servers
works.

> won't resolve the name, yet:
>
> ping sausages.socks.biz
>
> does fine.
>
> Is there any way we can get our DNS to automatically look in the
> Forward Lookup Zone for an address before it stops trying?

No. You do this on the DNS CLIENT.

> The only way I can get it to work at the moment is adding a load of
> CNAME records into the trousers.com zone, pointing to the records in
> the "socks.biz" zone, but it's not really a satifactory solution.

Ugh.

Just teach your users to type the full name is the BEST solution.

Otherwise they may get the "wrong" server if there happens to be
Large.trousers.com and a Large.socks.com servers.

> Hope someone can help me!
>
> AL.


--
Herb Martin, MCSE, MVP
http://www.LearnQuick.Com
(phone on web site)
Back to top
jeeva7



Joined: Apr 26, 2010
Posts: 1



PostPosted: Mon Apr 26, 2010 3:45 am    Post subject: [Login to view extended thread Info.]

If you give the domain name means you can get the ip address here whoisxy.com at free of cost....
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> DNS All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum