query to internal DNS view | Lab 6.4. Create a View
Hi guys,
On Lab 6.4. Create a View, one of the example queries to the internal DNS view is:

But the domain theworld.example.com is never defined in the zone file for that internal view:


So why does the answer to the query provided by the exercise is 192.74.137.5? Shouldn't it be NXDOMAIN like my answer from below?

Thanks in advanced!
P.S.: All my other queries were the same as that of the table. This one was the only exception.
Answers
-
I think the internal view has a default of recursive yes, and it should be recursive no like the external view. The IP address you highlighted is in fact the correct address for theworld.com.
0 -
I added
recursion no;to the internal view, restartedbind9, but the answer is still the same (NXDOMAIN):

And on
/etc/bind/named.conf.options, recursion is also set tono:
Also, on the guided exercise from the guide, for the internal view, recursion doesn't appear as one of the options to add on
/etc/bind/named.conf.local:
0 -
What makes me raise an eyebrow is that when recursion is set to no, the answer from dig says that recursion is being requested. But when I don't specify it, no comment regarding recursion appears on the reply (I've double checked this)
0 -
The recursion option is not consistent between CentOS and Ubuntu, this will get sorted next release. The ipaddress for theworld.example.com should be a failure. The ipaddress of192.74.137.5 belongs to theworld.com. The intent is to test the resolution on the different views.
Lee0 -
I tried
dig theworld.com @127.0.0.1but I get a status of REFUSED.Nonetheless, if the objective was to test the resolution on different views, then the job was done since I fully understood that.

Thanks for the help again, Lee.
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 754 Linux Foundation IT Professional Programs
- 374 Cloud Engineer IT Professional Program
- 170 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 5 DevOps & GitOps IT Professional Program
- 100 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 2 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 5 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 2 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 794 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 89 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 111 Mobile Computing
- 19 Android
- 77 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 393 Off Topic
- 121 Introductions
- 182 Small Talk
- 29 Study Material
- 976 Programming and Development
- 310 Kernel Development
- 648 Software Development
- 990 Software
- 382 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
