Re: DNS resolver configuration

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

On 15.06.2012 00:37, Ed Greshko wrote:
> On 06/15/2012 05:45 AM, Mateusz Marzantowicz wrote:
>> I have noticed a strange (for me) behavior of dns resolver in Fedora 17.
>> If the domain name being resolved simply doesn't exists I'm provided
>> with my IP address instead of an error. It behaves like when the search
>> option is present in /etc/resolv.conf but it isn't. I suspect that it
>> was added by some other script but I can't find where and how to disable
>> it. I suspected my dns forwarder for a while but on Debian box in the
>> same network everything works as expected - I get an error when domain
>> name does not exist.
>> I have Network Manager disabled and have static IP configuration done by
>> network service. Is there any way to change this dns resolution settings?
> You need to provide a bit more information..... 
> What is the contents of your /etc/resolv.conf?
> What is the output of "dig" and "host"

Ok, here you are:

1) $ cat /etc/resolv.conf

2) $ dig

; <<>> DiG 9.9.1-P1-RedHat-9.9.1-2.P1.fc17 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 62207
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;        IN    A

com.            900    IN    SOA 1339713695 1800 900 604800 86400

;; Query time: 41 msec
;; WHEN: Fri Jun 15 00:41:55 2012
;; MSG SIZE  rcvd: 106

3) $ host
Host not found: 3(NXDOMAIN)

When I do ping I get:
$ ping
PING (x.y.z.9) 56(84) bytes of data.

This happens with Firefox too which is the most annoying for me because
I drop to my personal web server every time the domain is not found. I'd
prefer to see an error instead.

It looks like search option in resolver is enabled somewhere or for some
apps. is my router with NAT and DNS. I only found this dns issue
only on Fedora boxes so far.

Mateusz Marzantowicz
users mailing list
To unsubscribe or change subscription options:
Have a question? Ask away:

Photo 4 Less

[Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Find Someone Special]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

Add to Google Powered by Linux