<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hello</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div><span style="white-space: pre-wrap;">     </span>Ubuntu can't send to Unbound</div><div><br></div><div><span style="white-space: pre-wrap;">  </span>Ubuntu 20.04</div><div><span style="white-space: pre-wrap;">   </span>unbound Version 1.9.4</div><div><span style="white-space: pre-wrap;">  </span>Following steps for Single Machine</div><div><span style="white-space: pre-wrap;">             </span>https://unbound.docs.nlnetlabs.nl/en/latest/use-cases/home-resolver.html#setting-up-for-a-single-machine</div><div><span style="white-space: pre-wrap;">       </span>systemctl status unbound</div><div><span style="white-space: pre-wrap;">               </span>● unbound.service - Unbound DNS server</div><div><span style="white-space: pre-wrap;">               </span>     Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)</div><div><span style="white-space: pre-wrap;">              </span>     Active: active (running) since Thu 2022-05-26 09:25:41 PDT; 16s ago</div><div><span style="white-space: pre-wrap;">                </span>       Docs: man:unbound(8)</div><div><span style="white-space: pre-wrap;">                </span>    Process: 15561 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)</div><div><span style="white-space: pre-wrap;">         </span>    Process: 15564 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)</div><div><span style="white-space: pre-wrap;">             </span>   Main PID: 15569 (unbound)</div><div><span style="white-space: pre-wrap;">         </span>      Tasks: 1 (limit: 9415)</div><div><span style="white-space: pre-wrap;">            </span>     Memory: 6.1M</div><div><span style="white-space: pre-wrap;">               </span>     CGroup: /system.slice/unbound.service</div><div><span style="white-space: pre-wrap;">                      </span>     └─15569 /usr/sbin/unbound -d</div><div><br></div><div><span style="white-space: pre-wrap;">          </span>May 26 09:25:40 ubuntu systemd[1]: Starting Unbound DNS server...</div><div><span style="white-space: pre-wrap;">              </span>May 26 09:25:40 ubuntu package-helper[15567]: /var/lib/unbound/root.key has content</div><div><span style="white-space: pre-wrap;">            </span>May 26 09:25:40 ubuntu package-helper[15567]: success: the anchor is ok</div><div><span style="white-space: pre-wrap;">                </span>May 26 09:25:41 ubuntu unbound[15569]: [15569:0] notice: init module 0: subnet</div><div><span style="white-space: pre-wrap;">         </span>May 26 09:25:41 ubuntu unbound[15569]: [15569:0] notice: init module 1: validator</div><div><span style="white-space: pre-wrap;">              </span>May 26 09:25:41 ubuntu unbound[15569]: [15569:0] notice: init module 2: iterator</div><div><span style="white-space: pre-wrap;">               </span>May 26 09:25:41 ubuntu unbound[15569]: [15569:0] info: start of service (unbound 1.9.4).</div><div><span style="white-space: pre-wrap;">               </span>May 26 09:25:41 ubuntu systemd[1]: Started Unbound DNS server.</div><div><span style="white-space: pre-wrap;"> </span>Before resolved.conf change</div><div><span style="white-space: pre-wrap;">            </span>dig example.com @127.0.0.1</div><div><span style="white-space: pre-wrap;">                     </span>; <<>> DiG 9.16.1-Ubuntu <<>> example.com @127.0.0.1</div><div><span style="white-space: pre-wrap;">                   </span>;; global options: +cmd</div><div><span style="white-space: pre-wrap;">                        </span>;; Got answer:</div><div><span style="white-space: pre-wrap;">                 </span>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50659</div><div><span style="white-space: pre-wrap;">                  </span>;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1</div><div><br></div><div><span style="white-space: pre-wrap;">                       </span>;; OPT PSEUDOSECTION:</div><div><span style="white-space: pre-wrap;">                  </span>; EDNS: version: 0, flags:; udp: 4096</div><div><span style="white-space: pre-wrap;">                  </span>;; QUESTION SECTION:</div><div><span style="white-space: pre-wrap;">                   </span>;example.com.<span style="white-space: pre-wrap;">                 </span>IN<span style="white-space: pre-wrap;">    </span>A</div><div><br></div><div><span style="white-space: pre-wrap;">                     </span>;; ANSWER SECTION:</div><div><span style="white-space: pre-wrap;">                     </span>example.com.<span style="white-space: pre-wrap;">          </span>86400<span style="white-space: pre-wrap;"> </span>IN<span style="white-space: pre-wrap;">    </span>A<span style="white-space: pre-wrap;">     </span>93.184.216.34</div><div><br></div><div><span style="white-space: pre-wrap;">                 </span>;; Query time: 356 msec</div><div><span style="white-space: pre-wrap;">                        </span>;; SERVER: 127.0.0.1#53(127.0.0.1)</div><div><span style="white-space: pre-wrap;">                     </span>;; WHEN: Thu May 26 09:23:56 PDT 2022</div><div><span style="white-space: pre-wrap;">                  </span>;; MSG SIZE  rcvd: 56</div><div><span style="white-space: pre-wrap;">             </span>dig example.com</div><div><span style="white-space: pre-wrap;">                        </span>; <<>> DiG 9.16.1-Ubuntu <<>> example.com</div><div><span style="white-space: pre-wrap;">                      </span>;; global options: +cmd</div><div><span style="white-space: pre-wrap;">                        </span>;; Got answer:</div><div><span style="white-space: pre-wrap;">                 </span>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12701</div><div><span style="white-space: pre-wrap;">                  </span>;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1</div><div><br></div><div><span style="white-space: pre-wrap;">                  </span>;; OPT PSEUDOSECTION:</div><div><span style="white-space: pre-wrap;">                  </span>; EDNS: version: 0, flags:; udp: 65494</div><div><span style="white-space: pre-wrap;">                 </span>;; QUESTION SECTION:</div><div><span style="white-space: pre-wrap;">                   </span>;example.com.<span style="white-space: pre-wrap;">                 </span>IN<span style="white-space: pre-wrap;">    </span>A</div><div><br></div><div><span style="white-space: pre-wrap;">                     </span>;; ANSWER SECTION:</div><div><span style="white-space: pre-wrap;">                     </span>example.com.<span style="white-space: pre-wrap;">          </span>5<span style="white-space: pre-wrap;">     </span>IN<span style="white-space: pre-wrap;">    </span>A<span style="white-space: pre-wrap;">     </span>93.184.216.34</div><div><br></div><div><span style="white-space: pre-wrap;">                 </span>;; Query time: 24 msec</div><div><span style="white-space: pre-wrap;">                 </span>;; SERVER: 127.0.0.53#53(127.0.0.53)</div><div><span style="white-space: pre-wrap;">                   </span>;; WHEN: Thu May 26 09:20:57 PDT 2022</div><div><span style="white-space: pre-wrap;">                  </span>;; MSG SIZE  rcvd: 56</div><div><span style="white-space: pre-wrap;">     </span>sudo gedit /etc/systemd/resolved.conf</div><div><span style="white-space: pre-wrap;">          </span>[Resolve]</div><div><span style="white-space: pre-wrap;">              </span>DNS=127.0.0.1</div><div><span style="white-space: pre-wrap;">          </span>#DNS=</div><div><span style="white-space: pre-wrap;">          </span>#FallbackDNS=</div><div><span style="white-space: pre-wrap;">          </span>#Domains=</div><div><span style="white-space: pre-wrap;">              </span>#LLMNR=no</div><div><span style="white-space: pre-wrap;">              </span>#MulticastDNS=no</div><div><span style="white-space: pre-wrap;">               </span>#DNSSEC=no</div><div><span style="white-space: pre-wrap;">             </span>#DNSOverTLS=no</div><div><span style="white-space: pre-wrap;">         </span>#Cache=no-negative</div><div><span style="white-space: pre-wrap;">             </span>DNSStubListener=no</div><div><span style="white-space: pre-wrap;">             </span>#DNSStubListener=yes</div><div><span style="white-space: pre-wrap;">           </span>#ReadEtcHosts=yes</div><div><span style="white-space: pre-wrap;">      </span>systemctl restart systemd-resolved</div><div><span style="white-space: pre-wrap;">     </span>systemctl status unbound</div><div><span style="white-space: pre-wrap;">               </span>● unbound.service - Unbound DNS server</div><div><span style="white-space: pre-wrap;">               </span>     Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)</div><div><span style="white-space: pre-wrap;">              </span>     Active: active (running) since Thu 2022-05-26 09:25:41 PDT; 5min ago</div><div><span style="white-space: pre-wrap;">               </span>       Docs: man:unbound(8)</div><div><span style="white-space: pre-wrap;">                </span>    Process: 15561 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)</div><div><span style="white-space: pre-wrap;">         </span>    Process: 15564 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)</div><div><span style="white-space: pre-wrap;">             </span>   Main PID: 15569 (unbound)</div><div><span style="white-space: pre-wrap;">         </span>      Tasks: 1 (limit: 9415)</div><div><span style="white-space: pre-wrap;">            </span>     Memory: 6.4M</div><div><span style="white-space: pre-wrap;">               </span>     CGroup: /system.slice/unbound.service</div><div><span style="white-space: pre-wrap;">                      </span>     └─15569 /usr/sbin/unbound -d</div><div><br></div><div><span style="white-space: pre-wrap;">          </span>May 26 09:25:40 ubuntu systemd[1]: Starting Unbound DNS server...</div><div><span style="white-space: pre-wrap;">              </span>May 26 09:25:40 ubuntu package-helper[15567]: /var/lib/unbound/root.key has content</div><div><span style="white-space: pre-wrap;">            </span>May 26 09:25:40 ubuntu package-helper[15567]: success: the anchor is ok</div><div><span style="white-space: pre-wrap;">                </span>May 26 09:25:41 ubuntu unbound[15569]: [15569:0] notice: init module 0: subnet</div><div><span style="white-space: pre-wrap;">         </span>May 26 09:25:41 ubuntu unbound[15569]: [15569:0] notice: init module 1: validator</div><div><span style="white-space: pre-wrap;">              </span>May 26 09:25:41 ubuntu unbound[15569]: [15569:0] notice: init module 2: iterator</div><div><span style="white-space: pre-wrap;">               </span>May 26 09:25:41 ubuntu unbound[15569]: [15569:0] info: start of service (unbound 1.9.4).</div><div><span style="white-space: pre-wrap;">               </span>May 26 09:25:41 ubuntu systemd[1]: Started Unbound DNS server.</div><div><span style="white-space: pre-wrap;">         </span>May 26 09:26:55 ubuntu unbound[15569]: [15569:0] info: generate keytag query _ta-4f66. NULL IN</div><div><span style="white-space: pre-wrap;"> </span>dig example.com</div><div><span style="white-space: pre-wrap;">                </span>; <<>> DiG 9.16.1-Ubuntu <<>> example.com</div><div><span style="white-space: pre-wrap;">              </span>;; global options: +cmd</div><div><span style="white-space: pre-wrap;">                </span>;; connection timed out; no servers could be reached</div><div><br></div></div><div dir="ltr" data-setdir="false">Thanks</div><div dir="ltr" data-setdir="false"><br></div><br></div></div></body></html>