[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: annoying domain.local issue

First I would like to thank you for really nice ane helpfull email.

On Mon, Apr 27, 2009 at 7:27 PM, Tim <ignored_mailbox yahoo com au> wrote:
> On Mon, 2009-04-27 at 17:20 +0200, Valent Turkovic wrote:
>> Do you have any issues when domain ends with dot local (.local) ?
>> How can I troubleshoot this more and fix it?
>> Both Fedora and Windows use the same DNS and same default gateway.
> And does that DNS server have an answer for queries to that domain name?
> If it does, does it have the right answer?

ping doesn't work from Fedora;

# ping web.iskon.local
ping: unknown host web.iskon.local

# ping samba.iskon.local
ping: unknown host web.iskon.local

> How domains are resolved is configured in a few places.
> The /etc/nsswitch.conf has a hosts section which lists the places to
> look up through, in sequence.  Mine has the following in it:
> #hosts:     db files nisplus nis dns
> hosts:      files dns
> ("files" being the /etc/hosts file, "dns" being a DHS server.)
> Putting a custom entry into your hosts file, for your .local addresses,
> ain't gonna help you if it consults a DNS server, first, which says
> something different about .local.
> That's used for networking, in general.  SMB work independently, it can
> also use an lmhosts file (inside the /etc/samba/ directory), or as a
> WINS server (an option inside the smb.conf file), as well as DNS.
> I'd suggest posting your hosts, nsswitch.conf, resolv.conf and smb.conf
> files for others to see what you're doing, rather than guess.  Also the
> outputs from running nslookup and dig with your problem domain name.

Here is mine nsswitch.conf :

hosts :

resolv.conf :

> i.e. dig samba.domain.local
>     nslookup samba.domain.local

$ dig web.domain.local

; <<>> DiG 9.5.1-P2-RedHat-9.5.1-2.P2.fc10 <<>> web.domain.local
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53744
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;web.domain.local.		IN	A

web.domain.local.	1200	IN	A

;; Query time: 5 msec
;; WHEN: Tue Apr 28 14:18:17 2009
;; MSG SIZE  rcvd: 49

$ nslookup web.domain.local

Name:	web.domain.local

$ host domain name pointer web.domain.local.

But I can't ping web.domain.local :(

And typing http://web.domain.local in Firefox doesn't open the web
page, but typing IP it does. If I type in Firefox I get the
home page.

As I mentioned I also have Winwdows in VirtualBox VM and there
everything works ok - ping works and also Firefox opens
web.domain.local without problems.

> If you're bodging up faux domain names, you might have to fiddle quite a
> few things to get it to work.  I found it easier to run my own domain
> name server, with records for local domain names, and have all my local
> computers use my domain name server.

When I enter in my hosts file this line:    web.domain.local

then I can ping the web server from my Fedora laptop... any ideas?

linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241, Skype: valent.turkovic

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]