• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Cisco Umbrella

Enterprise network security

  • Contact Sales
  • Login
    • Umbrella Login
    • Cloudlock Login
  • Why Us
    • Why Cisco Umbrella
      • Why Try Umbrella
      • Why DNS Security
      • Why Umbrella SASE
      • Our Customers
      • Customer Stories
      • Why Cisco Secure
    • Fast Reliable Cloud
      • Global Cloud Architecture
      • Cloud Network Status
      • Global Cloud Network Activity
    • Unmatched Intelligence
      • A New Approach to Cybersecurity
      • Interactive Intelligence
      • Cyber Attack Prevention
      • Umbrella and Cisco Talos Threat Intelligence
    • Extensive Integrations
      • IT Security Integrations
      • Hardware Integrations
      • Meraki Integration
      • Cisco Umbrella and SecureX
  • Products
    • Cisco Umbrella Products
      • Cisco Umbrella Cloud Security Service
      • Recursive DNS Services
      • Cisco Umbrella SIG
      • Umbrella Investigate
      • What’s New
    • Product Packages
      • Cisco Umbrella Package Comparison
      • – DNS Security Essentials Package
      • – DNS Security Advantage Package
      • – SIG Essentials Package
      • – SIG Advantage Package
      • Umbrella Support Packages
    • Functionality
      • DNS-Layer Security
      • Secure Web Gateway
      • Cloud Access Security Broker (CASB)
      • Cloud Data Loss Prevention (DLP)
      • Cloud-Delivered Firewall
      • Cloud Malware Protection
      • Remote Browser Isolation (RBI)
    • Man on a laptop with headphones on. He is attending a Cisco Umbrella Live Demo
  • Solutions
    • SASE & SSE Solutions
      • Cisco Umbrella SASE
      • Secure Access Service Edge (SASE)
      • What is SASE
      • What is Security Service Edge (SSE)
    • Functionality Solutions
      • Web Content Filtering
      • Secure Direct Internet Access
      • Shadow IT Discovery & App Blocking
      • Fast Incident Response
      • Unified Threat Management
      • Protect Mobile Users
      • Securing Remote and Roaming Users
    • Network Solutions
      • Guest Wi-Fi Security
      • SD-WAN Security
      • Off-Network Endpoint Security
    • Industry Solutions
      • Government and Public Sector Cybersecurity
      • Financial Services Security
      • Cybersecurity for Manufacturing
      • Higher Education Security
      • K-12 Schools Security
      • Healthcare, Retail and Hospitality Security
      • Enterprise Cloud Security
      • Small Business Cybersecurity
  • Resources
    • Content Library
      • Top Resources
      • Cybersecurity Webinars
      • Events
      • Research Reports
      • Case Studies
      • Videos
      • Datasheets
      • eBooks
      • Solution Briefs
    • International Documents
      • Deutsch/German
      • Español/Spanish
      • Français/French
      • Italiano/Italian
      • 日本語/Japanese
    • Security Definitions
      • What is Secure Access Service Edge (SASE)
      • What is Security Service Edge (SSE)
      • What is a Cloud Access Security Broker (CASB)
      • Cyber Threat Categories and Definitions
    • For Customers
      • Support
      • Customer Success Webinars
      • Cisco Umbrella Studio
  • Trends & Threats
    • Market Trends
      • Hybrid Workforce
      • Rise of Remote Workers
      • Secure Internet Gateway (SIG)
    • Security Threats
      • How to Stop Phishing Attacks
      • Malware Detection and Protection
      • Ransomware is on the Rise
      • Cryptomining Malware Protection
      • Cybersecurity Threat Landscape
      • Global Cyber Threat Intelligence
    •  
    • Woman connecting confidently to any device anywhere
  • Partners
    • Channel Partners
      • Partner Program
      • Become a Partner
    • Service Providers
      • Secure Connectivity
      • Managed Security for MSSPs
      • Managed IT for MSPs
    •  
    • Person looking down at laptop. They are connecting and working securely
  • Blog
    • News & Product Posts
      • Latest Posts
      • Products & Services
      • Customer Focus
      • Feature Spotlight
    • Cybersecurity Posts
      • Security
      • Threats
      • Cybersecurity Threat Spotlight
      • Research
    •  
    • Register for a webinar - with illustration of connecting securely to the cloud
  • Contact Us
  • Umbrella Login
  • Cloudlock Login
  • Free Trial
Security

NXDOMAIN, NODATA and debugging DNS for dual-stacked hosts

Author avatar of Lucas SibaLucas Siba
Updated — September 7, 2021 • 3 minute read
View blog >

An NXDOMAIN response means there are no records, of any DNS type, for the requested domain name. A NODATA response means there are records for the requested domain name, but none of them match the record type in your request.

At OpenDNS we want to help prepare everyone for the coming dual-stacked (meaning hosts will have both IPv4 and IPv6 addresses) world. In my previous post I discussed some of the issues that come from use searching domains with a dual stack host. In this post I’ll be going over exactly what DNS responses of NXDOMAIN vs NODATA mean, and why this it is important for people running dual-stacked machines to understand.

There is a common misconception about what an authoritative server is actually trying to tell you when you receive an NXDOMAIN response. The NXDOMAIN response is meant to imply that there are no records, of any request type, for the requested domain name.

Effectively, it’s the authority’s way of saying: “I have no information about this domain, regardless of what type of information you’re looking for”. The slightly different, but similar response of NODATA is meant to imply, there is no information, of the requested type, for the requested domain name. This is effectively like the authority saying: “I have information about the requested domain, but none of that information matches the specific type of information you’ve asked for”.

A good example of when a NODATA response is used is when requesting the A (IPv4) record for “www.ipv6.awfulhak.org”. The host www.ipv6.awfulhak.org is used for testing IPv6 enabled computers, specifically because it’s authoritative server only contain a AAAA (IPv6) record for that hostname.

# dig a www.ipv6.awfulhak.org
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1888
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;www.ipv6.awfulhak.org.INA
;; AUTHORITY SECTION:
ipv6.awfulhak.org.180INSOAns0.ipv6.Awfulhak.org. brian.Awfulhak.org. 2014051800 28800 1800 3600000 180

From the output we can see that our status code is “noerror”, and there is no answer section, this is dig’s way of showing a NODATA response. We’re getting this response because the authority server has some records for the host “www.ipv6.awfulhak.org”, just no records of type “A”. Now compare that output to running a dig for “does-not-exist.awfulhak.org”, a host which doesn’t exist (has no records in the authority at all).

# dig a does-not-exist.awfulhak.org
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 59249
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;does-not-exist.awfulhak.org.INA
;; AUTHORITY SECTION:
awfulhak.org.1800INSOAns2.knigma.org. brian.Awfulhak.org. 2014052400 28800 1800 3600000 1800

Because the name server has no entires, of any type, for the host “does-not-exist.awfulhak.org”, we get the NXDOMAIN error code.

“So why is this important to dual-stacked machines?”

When working in a dual-stacked network you’ll find many types of network configurations, some hosts with IPv4 addresses only, some with IPv6 only, and some with both. Often when debugging DNS, people will run “dig <hostname>” without considering what type of DNS record matter to their hosts. By default dig sends requests for A (IPv4) records, so if the hostname you’re querying for only has IPv6 records, you won’t see an answer section or an NXDOMAIN error code (because it is actually a NODATA response). This is now your cue to query for other (most likely AAAA) records.

Hopefully now you have a greater understanding of NXDOMAIN vs NODATA, and you can spot the difference when debugging DNS issues in a dual-stacked network.

Click for more information about Cisco DNS security.

Suggested Blogs

  • Cisco Umbrella Delivered Better Cybersecurity and 231% ROI February 21, 2023 2 minute read
  • Cisco Listed as a Representative Vendor in Gartner® Market Guide for Single-Vendor SASE January 26, 2023 3 minute read
  • How to Evaluate SSE Vendors: Questions to Ask, Pitfalls to Avoid June 23, 2022 5 minute read

Share this blog

FacebookTweetLinkedIn

Follow Us

  • Twitter
  • Facebook
  • LinkedIn
  • YouTube

Footer Sections

What we make

  • Cloud Security Service
  • DNS-Layer Network Security
  • Secure Web Gateway
  • Security Packages

Who we are

  • Global Cloud Architecture
  • Cloud Network Status
  • Cloud Network Activity
  • OpenDNS is now Umbrella
  • Cisco Umbrella Blog

Learn more

  • Webinars
  • Careers
  • Support
  • Cisco Umbrella Live Demo
  • Contact Sales
Umbrella by Cisco
208.67.222.222+208.67.220.220
2620:119:35::35+2620:119:53::53
Sign up for a Free Trial
  • Cisco Online Privacy Statement
  • Terms of Service
  • Sitemap

© 2023 Cisco Umbrella