Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-14-2005, 08:56 AM   #1
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
Dns & Cname

Here is the thing... Mite seem a lilttle confusing but here it is.
i have a DNS server hosted by Hurricane Electric.

so resolves to the WAN IP address of my home internet connection say

recenly i set up a local DNS at my home { mainly for resolving internal machines }

the domain is <machine>
it works fine. { The Hurricane Name server has no information about my home DNS Server. }

What i want here is that if i am at home and using the internal DNS server
it should resolve to my internal IP address & not the WAN IP addresses.

But that is not the behaviour i got ..

so if i say it does resolve to
the internal ip of

& resolves to

i added a CNAME entry in my zone file. & a PTR entry in the reverse file but it doesnt seem to work.. any clues..

Zone File : IN 1H A IN 1H CNAME

Reverse :

Is there any way i can get this done .. ?
Old 09-15-2005, 03:32 AM   #2
LQ Newbie
Registered: Jan 2004
Location: Brookline
Distribution: Redhat / Debian / Ubuntu
Posts: 2

Rep: Reputation: 0
I don't think you want to set up a subdomain here. Just resolve all your 192.168.0.x machines in your zone file and have one entry with a unique name for your external interface.


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
why To Use CNAME record ???? srnerkar1 Linux - Networking 3 12-31-2005 12:24 AM
Dns - Cname - Domain Masking dulaus Linux - Networking 2 06-06-2005 07:21 AM
DNS, CNAME conflicts in logs cyanescent Linux - Networking 1 05-12-2005 07:31 AM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 09:55 AM
FYI: O'Reilly, DNS&BIND & Sendmail unSpawn Linux - Networking 3 06-06-2001 08:20 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:15 PM.

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