On 15.07.16 12:05, Daniel Dawalibi wrote:
To: 'Matus UHLAR - fantomas' <uh...@fantomas.sk>, bind-users@lists.isc.org

please avoid personal replies. use list-reply whenever possible.

I already did it as per below output of resolv.conf but problem persists.

do you want to say, even if you run "dig domainname" without @localhost, the
dig sends query to  194.126.10.18 ?

/etc/resolv.conf
# Generated by NetworkManager
nameserver 127.0.0.1
nameserver 194.126.10.18

-----Original Message-----
From: bind-users [mailto:bind-users-boun...@lists.isc.org] On Behalf Of
Matus UHLAR - fantomas
Sent: 15 July, 2016 11:58 AM
To: bind-users@lists.isc.org
Subject: Re: Resolving issue on specific domain

On 12.07.16 17:13, Daniel Dawalibi wrote:
We are facing a weird issue while resolving a specific domain name from
our authoritative DNS server running on BIND 9.10.4-P1

Server has only one public IP address.

If you try to resolve the domain using either dig or nslookup you will
not get any result whereas if you specify @localhost you will get the
answer
[...]

#dig @localhost soa domainname
[...]

#dig soa domainname
;; SERVER: 194.126.10.18#53(194.126.10.18)

as you can see, in the latter example it's not the localhost (127.0.0.1) but
194.126.10.18 that gives you answer. That means, 194.126.10.18 does not know
the "domainname"

you must add localhost to resolv.conf as first nameserver to get answers
from it by default.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fucking windows! Bring Bill Gates! (Southpark the movie)
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to