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 furdishcamp.com" and "host furdishcamp.com"
>

Ok, here you are:

1) $ cat /etc/resolv.conf
nameserver 192.168.1.1


2) $ dig furdishcamp.com

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

;; QUESTION SECTION:
;furdishcamp.com.        IN    A

;; AUTHORITY SECTION:
com.            900    IN    SOA    a.gtld-servers.net.
nstld.verisign-grs.com. 1339713695 1800 900 604800 86400

;; Query time: 41 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Jun 15 00:41:55 2012
;; MSG SIZE  rcvd: 106


3) $ host furdishcamp.com
Host furdishcamp.com not found: 3(NXDOMAIN)


When I do ping I get:
$ ping furdishcamp.com
PING furdishcamp.my.domain.here (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.

192.168.1.1 is my router with NAT and DNS. I only found this dns issue
only on Fedora boxes so far.


Mateusz Marzantowicz
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux