Help on NXDOMAIN to try next forwarder in the list

Ashok Agarwal ashokagarwal.smit at gmail.com
Thu May 30 07:56:26 UTC 2013


Sorry, its not */etc/hosts* file rather its */etc/resolv.conf*.


On Thu, May 30, 2013 at 1:25 PM, Ashok Agarwal
<ashokagarwal.smit at gmail.com>wrote:

> One possible way can also be to set the number of nameservers to be looked
> upon in the /etc/hosts file.
>
> nameserver 8.8.8.8
> nameserver 4.4.2.2
> nameserver 4.1.2.2
>
> Regards,
> Ashok
>
>
> On Thu, May 30, 2013 at 1:05 PM, Steven Carr <sjcarr at gmail.com> wrote:
>
>> It's not possible. NXDOMAIN is NXDOMAIN, it doesn't exist, it doesn't
>> mean try another server to see if you get lucky next time.
>>
>> Steve
>>
>>
>> On 30 May 2013 08:26, sumsum 2000 <sum2hike at gmail.com> wrote:
>> > Hi,
>> > I have the following change to be available from BIND9.
>> >
>> > I have zone forwarders as follows with BIND9 setup with forward only
>> option
>> > on a Non Authoritative DNS server
>> >
>> > zone  "mytestdomain101.com" IN  {
>> >         type forward;
>> >         forwarders {8.8.8.8;4.2.2.1;8.8.4.4};
>> >         forward only;
>> > };
>> >
>> >
>> > If I am doing a dig on mytestdomain101.com, the first DNS server gives
>> > NXDOMAIN. In this example, say it tries 8.8.8.8 and returns. I would
>> want
>> > the other servers 4.2.2.1 and 8.8.4.4 to be tried and then finally
>> return
>> > NXDOMAIN to have the same functionality as that of the SERVFAIL.
>> >
>> > This is not currently possible and I have tried it on BIND9.8.2
>>  version.
>> > Could you please suggest if there is a way to do it.
>> >
>> > Thanks
>> > Sum2hike
>> >
>> >
>> >
>> > _______________________________________________
>> > Please visit https://lists.isc.org/mailman/listinfo/bind-users to
>> > unsubscribe from this list
>> >
>> > bind-users mailing list
>> > bind-users at lists.isc.org
>> > https://lists.isc.org/mailman/listinfo/bind-users
>> _______________________________________________
>> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
>> unsubscribe from this list
>>
>> bind-users mailing list
>> bind-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/bind-users
>>
>
>
>
> --
> Ashok
>



-- 
Ashok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130530/2bc49e4c/attachment-0001.html>


More information about the bind-users mailing list