The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6601

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===

Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>
From 58cc697da832e9d0f771fe16e7da3928e3cacc63 Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parr...@canonical.com>
Date: Thu, 12 Dec 2019 10:45:36 +0000
Subject: [PATCH] lxd/main/forkdns: Adds recursion desired comment that got
 removed during refactor

Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>
---
 lxd/main_forkdns.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lxd/main_forkdns.go b/lxd/main_forkdns.go
index f2ab1d3060..10f7f2830d 100644
--- a/lxd/main_forkdns.go
+++ b/lxd/main_forkdns.go
@@ -270,6 +270,7 @@ func (h *dnsHandler) handlePTR(r *dns.Msg) (dns.Msg, error) 
{
        for _, server := range servers {
                req := dns.Msg{}
                req.Question = r.Question
+               // Tell the remote node we only want to query their local data 
(to stop loops).
                req.RecursionDesired = false
                req.Id = r.Id
 
@@ -369,6 +370,7 @@ func (h *dnsHandler) handleA(r *dns.Msg) (dns.Msg, error) {
        for _, server := range servers {
                req := dns.Msg{}
                req.Question = r.Question
+               // Tell the remote node we only want to query their local data 
(to stop loops).
                req.RecursionDesired = false
                req.Id = r.Id
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to