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 30th May 2012, 04:30 AM
Sagari Offline
Registered User
 
Join Date: Aug 2007
Location: Novosibirsk
Age: 46
Posts: 93
linuxfirefox
[SOLVED] Fedora 16: intranet DNS problem: FQDN don't resolve

Hello,

Operating system: Fedora 16 x86_64

I am trying to understand the problems of the following. We have a local domain in our intranet (.local). The names are resolved correctly with and without .local:

Code:
$ host portal
portal.local has address 10.22.33.17
$ host portal.local
portal.local has address 10.22.33.17
However, trying to access FQDN fails:

Code:
$ ping portal
PING portal.local (10.22.33.17) 56(84) bytes of data.
64 bytes from portal.local (10.22.33.17): icmp_req=1 ttl=64 time=0.171 ms
^C
--- portal.local ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.171/0.171/0.171/0.000 ms

$ ping portal.local
ping: unknown host portal.local
/etc/resolv.conf:

Code:
search local
nameserver 10.22.33.1
nameserver 8.8.8.8
nameserver 8.8.4.4
Where can be the origin of this?
Thanks

Update: a solution was found. In /etc/nsswitch.conf I replaced

Code:
hosts:      files mdns4_minimal [NOTFOUND=return] dns mdns4
with

Code:
hosts:      files mdns4_minimal dns [NOTFOUND=return] mdns4
That solved the problem.

Last edited by Sagari; 30th May 2012 at 04:59 AM. Reason: IP typo / solution found
Reply With Quote
  #2  
Old 30th May 2012, 04:54 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
linuxfirefox
Re: Fedora 16: intranet DNS problem: FQDN don't resolve

What does dnsdomainname report ?
I believe that without a defined "domain local" in the /etc/resolv, then the resolv library uses your dnsdomainane or equivalent (hostname after the 1st period).

My hunch is you set your hostname to 'foo' instead of 'foo.local' so then the resolve on that system has to create a domain name from the search strings. So your system is trying to resolve
portal.local.local
which of course fails.


If the command
dnsdomainname
returns "(none)". Then edit /etc/sysconfig/network do you have something like
NETWORKING=yes
HOSTNAME=yourhost.local


then reboot or manually set the hostname
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
Reply

Tags
dns, fedora, fqdn, intranet, problem, resolve

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
fedora 13 how to resolve names on intranet klahanni Servers & Networking 22 22nd June 2010 02:57 PM
Apps won't resolve intranet addresses bubbagump Using Fedora 0 14th June 2010 04:54 PM
Intranet problem with FC6 jimm Servers & Networking 7 29th March 2007 08:08 PM
Intranet to internet FTP problem Reuben Oliphant Servers & Networking 0 28th September 2005 08:26 AM


Current GMT-time: 10:09 (Wednesday, 22-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