Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th May 2011, 06:04 AM
Sagari Offline
Registered User
 
Join Date: Aug 2007
Location: Novosibirsk
Age: 46
Posts: 93
linuxfirefox
Local .TLD host names aren't resolved if are referred by a CNAME record

Hello,

OS: Fedora 14, x86_64, all the last updates from default repositories installed.

Several updates ago I noticed a strange phenomenon. We are using local zones on our DNS configuration (e.g., custom TLD .local). The following illustrates the problem:

/etc/resolv.conf:

Code:
search local
nameserver 10.10.0.1
The nameserver mentioned resolves all existing names in .local TLD and forwards all the other name resolution to the provider's DNS services.

Now test.local is a valid DNS A record resolving to an address 10.10.0.222 (and a correct rDNS record exists as well). Here are the results of several commands:

$ host test
test.local has address 10.10.0.222
$ host test.local
test.local has address 10.10.0.222
$ ping test
PING test.local (10.10.0.222) 56(84) bytes of data.
64 bytes from test.local (10.10.0.222): icmp_req=1 ttl=64 time=1.59 ms
64 bytes from test.local (10.10.0.222): icmp_req=2 ttl=64 time=16.2 ms
^C
--- test.local ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.591/8.932/16.274/7.342 ms
$ ping test.local
ping: unknown host test.local

The problem is detected only for the host names for which there are CNAME records at nameserver's configuration referring to. I.e., there is

test1 CNAME test.local.

entry in .local zone configuration file. For host names not referred by any CNAME record, both names are resolved (with and without .local) and used fine by all the programs.

May I ask for suggestions on how to fix this? Any help would be much appreciated. Only certain intranet computers are affected by this.
Reply With Quote
Reply

Tags
bind, dns

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CNAME or MX record OainjaQakanj Servers & Networking 4 18th October 2009 01:05 PM
Local host names without domain using Bind onlyteo Servers & Networking 4 10th May 2009 10:25 PM
CNAME vs A Record P4rD0nM3 Servers & Networking 0 7th December 2008 07:18 PM
fail2ban - Resolved dns names? vonedaddy Security and Privacy 1 16th February 2008 03:02 PM


Current GMT-time: 05:38 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat