<?xml
version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
>

<channel xml:lang="fr">
	<title>NSS</title>
	<link>https://nss.dnc.global/</link>
	<description>NSS surveille le bon fonctionnement d'un site Web et alerte le propri&#233;taire en cas de panne. C'est la fonctionnalit&#233; la plus &#233;l&#233;mentaire de NSS et la plus imm&#233;diate &#224; mettre en &#339;uvre. Mais NSS est capable de beaucoup plus ...</description>
	<language>fr</language>
	<generator>SPIP - www.spip.net</generator>
	<atom:link href="https://nss.dnc.global/spip.php?id_mot=2&amp;page=backend" rel="self" type="application/rss+xml" />




<item xml:lang="en">
		<title>HTTP monitoring rules</title>
		<link>https://nss.dnc.global/HTTP-monitoring-rules.html</link>
		<guid isPermaLink="true">https://nss.dnc.global/HTTP-monitoring-rules.html</guid>
		<dc:date>2020-11-26T08:30:00Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>DnC</dc:creator>


		<dc:subject>New</dc:subject>

		<description>
&lt;p&gt;NSS allows to regularly send an HTTP request, waits for a response and interprets it by applying rules. If an error situation is detected, NSS generates an alert. &lt;br class='autobr' /&gt;
The HTTP monitoring rules offered by NSS Lite allow you to not only verify that a website is functioning and has not been hijacked, but also to monitor the response of any HTTP device: DNS, Proxy, Web service etc. &lt;br class='autobr' /&gt;
NSS Lite allows in particular to test a response in JSON format or the data-xxx values of HTML5. HTTP request &lt;br class='autobr' /&gt;
NSS (...)&lt;/p&gt;


-
&lt;a href="https://nss.dnc.global/-Documentation-7-.html" rel="directory"&gt;Documentation&lt;/a&gt;

/ 
&lt;a href="https://nss.dnc.global/+-New-+.html" rel="tag"&gt;New&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;NSS allows to regularly send an HTTP request, waits for a response and interprets it by applying rules. If an error situation is detected, NSS generates an alert.&lt;/p&gt;
&lt;p&gt;The HTTP monitoring rules offered by NSS Lite allow you to not only verify that a website is functioning and has not been hijacked, but also to monitor the response of any HTTP device: DNS, Proxy, Web service etc.&lt;/p&gt;
&lt;p&gt;NSS Lite allows in particular to test a response in JSON format or the data-xxx values of HTML5.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;HTTP request&lt;/h3&gt;
&lt;p&gt;NSS Lite accepts an HTTP request limited to the scheme, host, path, query and fragment components.&lt;/p&gt;
&lt;p&gt;An HTTP request is entered in the &#034;Request&#034; field of the task in the format:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;&lt;scheme (http: | https:)&gt;//&lt;host&gt;/ [&lt;path&gt;] [? &lt;query&gt;] [# &lt;fragment&gt;]&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;https://buy.dnc.global/-Nos-produits-.html&lt;br /&gt; https://www.ossec.dnc.global/web/spip.php?article1&lt;/code&gt;&lt;/div&gt;&lt;h3 class=&#034;spip&#034;&gt;&#034;Rules&#034; field empty&lt;/h3&gt;
&lt;p&gt;The response expected by NSS following an HTTP request appears in the &#034;Rules&#034; field of the task. This field is optional.&lt;/p&gt;
&lt;p&gt;When the &#034;Rules&#034; field is not filled in, NSS takes into account the HTTP code returned in the header of the response, regardless of the payload of the response:&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; When the HTTP response code is 500 or more (server error), an event is created with a level equal to 6 (Alert).&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; When the HTTP code of the response is 400 or more and less than 500 (web client error), an event is created with a level equal to 5 (Critical).&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; When the HTTP code of the response is 300 or more and less than 400 (redirect), NSS tries to follow the redirect. If successful, the HTTP code is 200.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; When the process has ended without error (HTTP code &lt;400), NSS applies a set of standard rules.&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;&#034;Rules&#034; field not empty&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Analysis of the response&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;An HTTP response includes a &#034;response header&#034; and a &#034;response payload&#034; also referred to as the &#034;body&#034; of the response.&lt;/p&gt;
&lt;p&gt;NSS first processes the HTTP response as described above. When the process has finished without error (HTTP code &lt;400), NSS processes the response by applying the rules indicated in the &#034;Rules&#034; field of the task.&lt;/p&gt;
&lt;p&gt; If the test fails, an event is created with a level equal to 4, or the level specified in the task definition.&lt;/p&gt;
&lt;p&gt;There are two types of rules: &#034;general rules&#034; which do not take into account the payload of the response, and those which apply to that payload.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;General rules&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a name=&#034;timemean &#034;&gt;&lt;/a&gt;
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;TIME&lt; number of ms&lt;/strong&gt;: Checks that the server returns the response within a time less than the value indicated in ms.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;MEAN&lt; number of ms&lt;/strong&gt;: Checks that the server returns the response within an average delay less than the value indicated in ms.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;SAME LOCATION&lt;/strong&gt;: Check that the URL of the response is identical to the request (there was no redirection).&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;SRCIP = nnn.nnn.nnn.nnn&lt;/strong&gt;: Check that the host of the real response has the indicated address for IPv4 (source IP). In particular, it is possible to check that a redirection does not leave the machine targeted by the request.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;SAME HOST&lt;/strong&gt;: checks that the domain of the response is identical to that of the request. In particular, it is possible to check that a redirection does not leave the initial domain.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;HTTP = nnn&lt;/strong&gt;: the HTTP code of the response must have the value indicated.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Response payload analysis rules&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;NULL&lt;/strong&gt;: the body of the response must have zero length.&lt;/p&gt;
&lt;p&gt;Note: NSS Lite does not load more than 20,000 bytes from the response body. This must be taken into account for the following rules.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;LENGTH&gt; integer&lt;/strong&gt;: the body of the response must have a length greater than or equal to the specified value. Note that this is the HTML response, not the &lt;body&gt; section of the HTML page.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;STRING = character string&lt;/strong&gt;: the body of the response must be equal to the specified string.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;CONTAINS character string&lt;/strong&gt;: the body of the response must contain the specified string.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;MATCH character string&lt;/strong&gt;: this rule allows you to check the presence of any string in the response. The string can be a regular expression, so it is possible to perform any check in the response.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;JSON array ['a'] ['b'] ... = value&lt;/strong&gt;, &lt;strong&gt;JSON array ['a'] ['b'] ...&gt; value&lt;/strong&gt;: The response must be a associative array in JSON format. The rule tests the value of the array element ['a'] ['b'] ...&lt;br class='autobr' /&gt;
The number of index dimensions (recursion depth) is limited to 10.&lt;br class='autobr' /&gt;
Unlike other rules, the names of the array and indexes are case sensitive.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;DATA-XXX = value&lt;/strong&gt;, &lt;strong&gt;DATA-XXX&gt; value&lt;/strong&gt;: The response must contain the HTML5 data-xxx attribute. NSS compares the value of the attribute to the value specified in the rule. Note that if the response has multiple data-xxxs, only the first occurrence will be tested.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Rule inversion&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We can precede the payload analysis rules with &lt;strong&gt;NOT&lt;/strong&gt; to test the reverse condition (it is often more interesting), the rules are thus valid: &lt;strong&gt;NOT NULL&lt;/strong&gt;, &lt;strong&gt;NOT HTTP =&lt;/strong&gt;, &lt;strong&gt;NOT LENGTH&lt;/strong&gt; =, &lt;strong&gt;NOT STRING&lt;/strong&gt; =, &lt;strong&gt;NOT CONTAINS&lt;/strong&gt; etc ..&lt;br class='autobr' /&gt;
However, MATCH cannot be reversed.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Examples of rules&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;code class = &#034;html&#034; class='spip_code' dir='ltr'&gt; SRCIP = 52.128.11.2 &lt;/code&gt; Checks that the response comes from the indicated IP.&lt;/p&gt;
&lt;p&gt;&lt;code class = &#034;html&#034; class='spip_code' dir='ltr'&gt; CONTAINS &lt;body&gt; &lt;/code&gt; checks that the returned document contains a body (without prejudging its content).&lt;/p&gt;
&lt;p&gt;&lt;code class = &#034;html&#034; class='spip_code' dir='ltr'&gt; LENGTH&gt; 10000 &lt;/code&gt; checks that the response has a length&gt; 10000. Used to detect a page generation error if its content (including header) is normally greater than the value indicated.&lt;/p&gt;
&lt;p&gt;&lt;code class = &#034;html&#034; class='spip_code' dir='ltr'&gt; NOT CONTAINS tep stop &lt;/code&gt; The response must not contain the string 'tep stop' (which is a fatal error returned by osCommerce).&lt;/p&gt;
&lt;p&gt;&lt;code class = &#034;html&#034; class='spip_code' dir='ltr'&gt; NOT JSON Values ['temperature'] ['output']&gt; 55 &lt;/code&gt; The response must be a JSON array 'Values' whose element ['temperature'] ['output' ] must be less than or equal to 55.&lt;/p&gt;
&lt;p&gt;&lt;code class = &#034;html&#034; class='spip_code' dir='ltr'&gt; DATA-price&gt; 50 &lt;/code&gt; The price indicated in the data-price field must be greater than 50.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Combination of several rules for the same task&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Several rules can be indicated in the &#034;Rules&#034; field, one per line.&lt;br class='autobr' /&gt;
They are combined with the logical operator AND, ie the task is in error if one of the rules is verified.&lt;/p&gt;
&lt;p&gt;The number of rules is limited only by the total length of the &#034;Rules&#034; field, limited to 1024 characters.&lt;/p&gt;
&lt;p&gt;Here is an example of DNS monitoring for a domain&lt;span class=&#034;spip_note_ref&#034;&gt; [&lt;a href='#nb2-1' class='spip_note' rel='appendix' title='It is much more efficient to monitor DNS using a dns: // query. See: R&#232;gles (...)' id='nh2-1'&gt;1&lt;/a&gt;]&lt;/span&gt;, In which the rules are applied to the response from a DNS test site such as testdns.fr:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code style=&#034;html&#034;&gt;CONTAINS ns102.ovh.net&lt;br /&gt; CONTAINS dns102.ovh.net&lt;br /&gt; CONTAINS 51.178.18.44&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;This other example shows how to verify that a page is non-empty, doesn't show a MySQL error, hasn't been hijacked, and how to track response time:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code style=&#034;html&#034;&gt;SRCIP = NNN.NNN; NNN; NNN&lt;br /&gt; LENGTH&gt; 10,000: 6&lt;br /&gt; CONTAINS TheTitleOfThePageByExample: 6&lt;br /&gt; NOT CONTAINS MySQL error&lt;br /&gt; NOT CONTAINS forbidden&lt;br /&gt; TIME &lt;1000: 2&lt;br /&gt; TIME &lt;3000: 3&lt;br /&gt; TIME &lt;10000: 4&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Please note that rules such as &#034;NOT CONTAINS MySQL error&#034; or &#034;NOT CONTAINS forbidden&#034; are not universal: they depend on the application or the firewall.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Standard rule set applied by default&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When the rules field is empty, NSS applies the following standard rule set (not requiring the loading of the response body):&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code style=&#034;html&#034;&gt;TIME &lt;2000: 2&lt;br /&gt; TIME &lt;5000: 3 &#034;&lt;br /&gt; TIME &lt;10000: 4&lt;/code&gt;&lt;/div&gt;&lt;h3 class=&#034;spip&#034;&gt;Response time&lt;/h3&gt;
&lt;p&gt;If no rule has generated an error (including the TIME and MEAN rules described above), NSS compares the response time against the average response time observed for the task. An alert is generated with a level equal to 2 (Notice), or the level indicated in the definition of the task, if the response time exceeds 4 times the average time.&lt;/p&gt;
&lt;p&gt;For more details on this topic, see: &lt;a href='https://nss.dnc.global/Surveillance-du-temps-de-reponse.html' class='spip_in' hreflang='fr'&gt;Surveillance du temps de r&#233;ponse&lt;/a&gt;.&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Alert level&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Definition&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;NSS classifies events according to their severity into 8 levels, described in the following table:&lt;/p&gt;
&lt;table class=&#034;spip&#034;&gt;
&lt;thead&gt;&lt;tr class='row_first'&gt;&lt;th id='id5c19_c0'&gt; Level &lt;/th&gt;&lt;th id='id5c19_c1'&gt; Severity &lt;/th&gt;&lt;th id='id5c19_c2'&gt; Elevation &lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td class='numeric ' headers='id5c19_c0'&gt;7&lt;/td&gt;
&lt;td headers='id5c19_c1'&gt;Emergency: the system cannot be used&lt;/td&gt;
&lt;td headers='id5c19_c2'&gt;NA&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td class='numeric ' headers='id5c19_c0'&gt;6&lt;/td&gt;
&lt;td headers='id5c19_c1'&gt;Alert: action must be taken immediately&lt;/td&gt;
&lt;td headers='id5c19_c2'&gt;7 if number exceeds 5&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td class='numeric ' headers='id5c19_c0'&gt;5&lt;/td&gt;
&lt;td headers='id5c19_c1'&gt;Critical condition&lt;/td&gt;
&lt;td headers='id5c19_c2'&gt;6 if number exceeds 5&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td class='numeric ' headers='id5c19_c0'&gt;4&lt;/td&gt;
&lt;td headers='id5c19_c1'&gt;Error&lt;/td&gt;
&lt;td headers='id5c19_c2'&gt;5 if number exceeds 60&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td class='numeric ' headers='id5c19_c0'&gt;3&lt;/td&gt;
&lt;td headers='id5c19_c1'&gt;Attention&lt;/td&gt;
&lt;td headers='id5c19_c2'&gt;NA&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td class='numeric ' headers='id5c19_c0'&gt;2&lt;/td&gt;
&lt;td headers='id5c19_c1'&gt;Significant information&lt;/td&gt;
&lt;td headers='id5c19_c2'&gt;3 if number exceeds 60&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_odd odd'&gt;
&lt;td class='numeric ' headers='id5c19_c0'&gt;1&lt;/td&gt;
&lt;td headers='id5c19_c1'&gt;Information&lt;/td&gt;
&lt;td headers='id5c19_c2'&gt;NA&lt;/td&gt;&lt;/tr&gt;
&lt;tr class='row_even even'&gt;
&lt;td class='numeric ' headers='id5c19_c0'&gt;0&lt;/td&gt;
&lt;td headers='id5c19_c1'&gt;Debug Info&lt;/td&gt;
&lt;td headers='id5c19_c2'&gt;NA&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Alert level assignment&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the event of an error, NSS assigns an alert level of 4 by default.&lt;/p&gt;
&lt;p&gt;This alert level can be modified for a given task by entering a different value in the &#034;Error level&#034; field of the &lt;a href='https://nss.dnc.global/?page=creer-task&amp;#38; lang=en'&gt;task creation / edition form&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Thus defined, the level of error applies regardless of the rule in error. It is possible to define a particular level of error for the rule by following it with ': N' where N is the desired level, as in the following example:&lt;br class='autobr' /&gt;
&lt;code style = &#034;html&#034; class='spip_code' dir='ltr'&gt; LENGTH&gt; 10000: 6 &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Of course, the defined error levels must be consistent with the &#034;Minimum alert level for sending&#034; defined for notifications (see below).&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Compaction of events&lt;/h3&gt;
&lt;p&gt;When identical events follow one another, NSS does not generate an alert each time, but counts the number of repetitions. Only one line appears in the &lt;a href='https://nss.dnc.global/spip.php?page=alertes_comp&amp;#38;lang=en'&gt;Alerts table&lt;/a&gt;.&lt;br class='autobr' /&gt;
As indicated in the &#034;Elevation&#034; column, the alert level is raised by one when the same error is repeated.&lt;br class='autobr' /&gt;
Thus, the Alerts table remains synthetic, and the rate of notifications reasonable.&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Notification&lt;/h3&gt;
&lt;p&gt;The &lt;a href='https://nss.dnc.global/spip.php?page=notifier&amp;#38;lang=en'&gt;Manage notifications&lt;/a&gt; form allows you to define the destination addresses and the minimum level triggering a notification.&lt;/p&gt;
&lt;p&gt;By default, the alert level is 5 (send &#034;critical conditions&#034; and above).&lt;br class='autobr' /&gt;
This level can be modified in the &#034;Minimum alert level for sending&#034; field, indicating a number from 0 (send all alerts) to 7 (send only &#034;unusable system&#034;).&lt;/p&gt;
&lt;p&gt;NSS issues a notification message at the start of an alert series and when the level rises.&lt;/p&gt;&lt;/div&gt;
		&lt;hr /&gt;
		&lt;div class='rss_notes'&gt;&lt;div id='nb2-1'&gt;
&lt;p&gt;&lt;span class=&#034;spip_note_ref&#034;&gt;[&lt;a href='#nh2-1' class='spip_note' title='Footnotes 2-1' rev='appendix'&gt;1&lt;/a&gt;] &lt;/span&gt;It is much more efficient to monitor DNS using a dns: // query. See: &lt;a href='https://nss.dnc.global/Regles-de-surveillance-DNS.html' class='spip_in' hreflang='fr'&gt;R&#232;gles de surveillance DNS&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
		</content:encoded>


		

	</item>
<item xml:lang="en">
		<title>DNS monitoring rules</title>
		<link>https://nss.dnc.global/DNS-monitoring-rules.html</link>
		<guid isPermaLink="true">https://nss.dnc.global/DNS-monitoring-rules.html</guid>
		<dc:date>2020-10-27T11:12:25Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>en</dc:language>
		<dc:creator>DnC</dc:creator>


		<dc:subject>New</dc:subject>

		<description>
&lt;p&gt;NSS allows you to regularly send a DNS query, waits for a response and interprets it by applying rules. If an error situation is detected, NSS generates an alert. &lt;br class='autobr' /&gt;
The DNS watch rules offered by NSS Lite allow you to verify all aspects of the DNS configuration of the domain in question, in addition to checking response time. &lt;br class='autobr' /&gt;
Requ&#234;te DNS &lt;br class='autobr' /&gt;
A DNS request is entered in the &#034;Request&#034; field of the task in the format: dns: [//[:] /] [? ] &lt;br class='autobr' /&gt;
where : server: (optional) URL of a particular DNS server. (...)&lt;/p&gt;


-
&lt;a href="https://nss.dnc.global/-Documentation-7-.html" rel="directory"&gt;Documentation&lt;/a&gt;

/ 
&lt;a href="https://nss.dnc.global/+-New-+.html" rel="tag"&gt;New&lt;/a&gt;

		</description>


 <content:encoded>&lt;div class='rss_chapo'&gt;&lt;p&gt;NSS allows you to regularly send a DNS query, waits for a response and interprets it by applying rules. If an error situation is detected, NSS generates an alert.&lt;/p&gt;
&lt;p&gt;The DNS watch rules offered by NSS Lite allow you to verify all aspects of the DNS configuration of the domain in question, in addition to checking response time.&lt;/p&gt;&lt;/div&gt;
		&lt;div class='rss_texte'&gt;&lt;h3 class=&#034;spip&#034;&gt;Requ&#234;te DNS&lt;/h3&gt;
&lt;p&gt;A DNS request is entered in the &#034;Request&#034; field of the task in the format:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;dns: [//&lt;server&gt;[:&lt;port&gt;] /] &lt;domain&gt;[? &lt;type&gt;]&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;where :&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; server: (optional) URL of a particular DNS server.
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; domain (required): the domain of the record in the DNS zone.
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; type: (optional, A) the type of record in the DNS zone of the domain: A, AAAA, CNAME, MX, NS, SOA, SPF, TXT. If this parameter is not understood, an error will be generated.&lt;/p&gt;
&lt;p&gt;examples:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;dns:buy.dnc.global&lt;br /&gt; dns:dnc.global?NS&lt;br /&gt; dns://dns102.ovh.net/buy.dnc.global&lt;br /&gt; dns:degoy.com?A&lt;br /&gt; dns:degoy.com?AAAA&lt;br /&gt; dns://dns200.anycast.me/degoy.com?AAAA&lt;br /&gt; dns:degoy.com?MX&lt;br /&gt; dns://ns-219-a.gandi.net/www.spip.net&lt;br /&gt; dns://1.1.1.1/dnc.global /* Cloudflare resolver */&lt;br /&gt; dns://8.8.8.8/dnc.global /* Google resolver */&lt;br /&gt; dns://213.186.33.99/dnc.global?AAAA /* OVH resolver France*/&lt;br /&gt; dns://5.196.123.133/dnc.global?AAAA /* OVH resolver, Spain */&lt;br /&gt; dns://193.252.10.2/dnc.global /* Orange, Aubervilliers, France */&lt;/code&gt;&lt;/div&gt;&lt;h3 class=&#034;spip&#034;&gt;Reply&lt;/h3&gt;
&lt;p&gt;NSS issues the DNS query as a &lt;a href=&#034;https://www.diggui.com/dig-command-manual.php&#034; class='spip_out' rel='external'&gt;Unix / Linux DIG&lt;/a&gt; of the following form:&lt;br class='autobr' /&gt;
&lt;code class='spip_code' dir='ltr'&gt; dig [&lt;type&gt;] [@ server [: port]] &lt;domain&gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;If the request is successful, the response parsed by NSS is the literal form returned by DIG.&lt;br class='autobr' /&gt;
Here is for example the response to the request dns: degoy.com? MX (translated into dig MX degoy.com):&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;; &lt;&lt;&gt;&gt; DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6_10.7 &lt;&lt;&gt;&gt; MX degoy.com&lt;br /&gt; ;; global options: +cmd&lt;br /&gt; ;; Got answer:&lt;br /&gt; ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 36151&lt;br /&gt; ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0&lt;br /&gt; &lt;br /&gt; ;; QUESTION SECTION:&lt;br /&gt; ;degoy.com. IN MX&lt;br /&gt; &lt;br /&gt; ;; ANSWER SECTION:&lt;br /&gt; degoy.com. 600 IN MX 5 mx1.mail.ovh.net.&lt;br /&gt; degoy.com. 600 IN MX 100 mx3.mail.ovh.net.&lt;br /&gt; degoy.com. 600 IN MX 1 mx0.mail.ovh.net.&lt;br /&gt; degoy.com. 600 IN MX 200 mail.rollernet.us.&lt;br /&gt; degoy.com. 600 IN MX 200 mail2.rollernet.us.&lt;br /&gt; degoy.com. 600 IN MX 50 mx2.mail.ovh.net.&lt;br /&gt; &lt;br /&gt; ;; Query time: 11 msec&lt;br /&gt; ;; SERVER: 213.186.33.99#53(213.186.33.99)&lt;br /&gt; ;; WHEN: Tue Sep 1 17:22:07 2020&lt;br /&gt; ;; MSG SIZE rcvd: 174&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;If this fails, NSS will log an error.&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Implicit and Default Rules&lt;/h3&gt;
&lt;p&gt;The response expected by NSS following a DNS request appears in the &#034;Rules&#034; field of the task. This field is optional. Whether or not it is entered, implicit rules apply:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;status: NOERROR&lt;/strong&gt; : NSS v&#233;rifie que la r&#233;ponse du DNS comporte &#034;status: NOERROR&#034;. Dans le cas contraire, une alerte de niveau 5 au moins est g&#233;n&#233;r&#233;e.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Response Time&lt;/strong&gt;: NSS always monitors the response time against the average time observed for the task.&lt;br class='autobr' /&gt;
An alert is generated with a level equal to 2, or the level indicated in the task definition, if the response time exceeds 4 times the average time.&lt;/p&gt;
&lt;p&gt;For more details on this topic, see: &lt;a href='https://nss.dnc.global/Surveillance-du-temps-de-reponse.html' class='spip_in' hreflang='fr'&gt;Surveillance du temps de r&#233;ponse&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default rules&lt;/strong&gt;: moreover, if the rule field is not filled in, NSS applies the following rules, assuming an expected response within a period of less than 50 ms:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;TIME&lt;50:3&lt;br /&gt; TIME&lt;100:4&lt;br /&gt; TIME&lt;500:5&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;These rules already allow effective monitoring without having to assign rules to the task. So the simple query:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;dns://ns-219-a.gandi.net/www.spip.net&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;allows you to monitor the resolution of the domain name &lt;a href=&#034;http://www.spip.net&#034; class='spip_url spip_out auto' rel='nofollow external'&gt;www.spip.net&lt;/a&gt; by one of its authoritative DNS servers.&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Rules applicable to the DNS request&lt;/h3&gt;
&lt;p&gt;&lt;a name=&#034;timemean&#034;&gt;&lt;/a&gt;
&lt;br /&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;TIME&lt; number of ms&lt;/strong&gt;: Checks that the server returns the response within a time period less than the value indicated in ms.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;MEAN&lt; number of ms&lt;/strong&gt;: Checks that the server returns the response within an average delay less than the value indicated in ms.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;IPV4= NNN.NNN.NNN.NNN&lt;/strong&gt; : the most essential rule, allowing to verify that the domain name indicated in the DNS request is resolved and equal to the indicated IPv4 address.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;QUERY TIME&lt; number of ms&lt;/strong&gt;: DNS server response time.&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Note: The TIME and MEAN rules take into account the total response time of the request, including transmission times, whether the DNS is responding or not), while QUERY TIME covers the time shown in the DNS response.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;CONTAINS character string&lt;/strong&gt;: this rule allows you to check for the presence of a string in the raw response.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;MATCH character string&lt;/strong&gt;: this rule allows you to check for the presence of any string in the raw response. The string can be a standard regular expression, so it is possible to perform any check in the response. However, the use of the ARRAY rule will most often be preferable.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;ARRAY [index] = character string&lt;/strong&gt;: Checks that the character string is found in the value of the array at index A. Note that this is an inclusion and not an equality , the rule behaving like CONTAINS. The index can be multidimensional.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;spip-puce ltr&#034;&gt;&lt;b&gt;&#8211;&lt;/b&gt;&lt;/span&gt; &lt;strong&gt;ARRAY [index]&gt; number&lt;/strong&gt;: Checks that the value of the array at index A is greater than the number indicated. The index can be multidimensional.&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Learn more about the ARRAY rule ...&lt;/h3&gt;
&lt;p&gt;The ARRAY ... rule completes the rule set to test any information returned by the DNS query.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How NSS translates the responses&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To make a request, NSS calls on DIG and then breaks down the response into an associative array. The rules relate to the elements of this array.&lt;br class='autobr' /&gt;
Usually, you won't have to worry about this table. However, the formulation of an ARRAY rule supposes to know the structure of this table well.&lt;/p&gt;
&lt;p&gt;Here's how NSS internally translates the previous query into an array:&lt;/p&gt;
&lt;div class=&#034;coloration_code code&#034;&gt;&lt;div class=&#034;spip_php code&#034;&gt;&lt;div class=&#034;php&#034;&gt;&lt;ol&gt;&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; RAW&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; ; &lt;&lt;&gt;&gt; DiG 9.11.5-P4-5.1+deb10u2-Debian &lt;&lt;&gt;&gt; www.spip.net&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; global options: +cmd&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; Got answer:&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 594&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; OPT PSEUDOSECTION:&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;; EDNS: version: 0, flags:; udp: 4096&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;; COOKIE: f182cd5130c105c8056d4eed5f50bf97a6b668e584c7b2e7 (good)&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; QUESTION SECTION:&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;www.spip.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;IN&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;A&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; ANSWER SECTION:&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;www.spip.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;1979&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;IN&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;A&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;151.80.20.125&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; AUTHORITY SECTION:&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;spip.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;34795&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;IN&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;NS&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;ns-145-c.gandi.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;spip.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;34795&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;IN&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;NS&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;ns-77-b.gandi.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;spip.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;34795&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;IN&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;NS&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;ns-219-a.gandi.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; ADDITIONAL SECTION:&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;ns-219-a.gandi.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;34795&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;IN&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;A&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;173.246.100.220&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;ns-219-a.gandi.net.&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;34795&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;IN&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;AAAA&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\t&lt;/span&gt;2001:4b98:aaaa::dc&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; Query time: 0 msec&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; SERVER: 127.0.0.1#53(127.0.0.1)&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; WHEN: Thu Sep 03 10:04:07 UTC 2020&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;;; MSG SIZE rcvd: 203&lt;span style=&#034;color: #000099; font-weight: bold;&#034;&gt;\n&lt;/span&gt;&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #339933;&#034;&gt;;&lt;/span&gt; &lt;span style=&#034;color: #339933;&#034;&gt;&lt;&lt;&gt;&gt;&lt;/span&gt; DIG 9&lt;span style=&#034;color: #339933;&#034;&gt;.&lt;/span&gt;11&lt;span style=&#034;color: #339933;&#034;&gt;.&lt;/span&gt;5&lt;span style=&#034;color: #339933;&#034;&gt;-&lt;/span&gt;P4&lt;span style=&#034;color: #339933;&#034;&gt;-&lt;/span&gt;&lt;span style=&#034;color:#800080;&#034;&gt;5.1&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;+&lt;/span&gt;DEB10U2&lt;span style=&#034;color: #339933;&#034;&gt;-&lt;/span&gt;DEBIAN &lt;span style=&#034;color: #339933;&#034;&gt;&lt;&lt;&gt;&gt;&lt;/span&gt; WWW&lt;span style=&#034;color: #339933;&#034;&gt;.&lt;/span&gt;SPIP&lt;span style=&#034;color: #339933;&#034;&gt;.&lt;/span&gt;NET&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;GLOBAL&lt;/span&gt; OPTIONS&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; +cmd &#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; GOT ANSWER&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; &#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;a href=&#034;http://www.php.net/header&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;HEADER&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; opcode&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; QUERY&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; status&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; NOERROR&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; id&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; 594 &#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; flags&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; qr rd ra&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; QUERY&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; 1&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ANSWER&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; 1&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; AUTHORITY&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; 3&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ADDITIONAL&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; 3 &#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; OPT PSEUDOSECTION&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; ; EDNS: version: 0, flags:; udp: 4096 ; COOKIE: f182cd5130c105c8056d4eed5f50bf97a6b668e584c7b2e7 (good) &#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; QUESTION SECTION&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;www.spip.net. IN A &#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; QUERY &lt;a href=&#034;http://www.php.net/time&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;TIME&lt;/span&gt;&lt;/a&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; 0 msec &#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; SERVER&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; 127.0.0.1#53(127.0.0.1) &#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; WHEN&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string&lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;Thu Sep 03 10:04:07 UTC 2020&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; MSG SIZE RCVD&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034; 203 &#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ANSWER SECTION&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;0&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;www.spip.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;1974&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;A&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ip&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;151.80.20.125&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; AUTHORITY SECTION&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;0&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;spip.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;NS&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; target&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-145-c.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;spip.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;NS&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; target&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-77-b.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;2&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;spip.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;NS&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; target&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-219-a.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;3&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;spip.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;NS&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; target&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-77-b.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;4&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;spip.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;NS&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; target&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-145-c.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;5&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;spip.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;NS&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; target&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-219-a.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ADDITIONAL SECTION&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;0&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-219-a.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;A&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ip&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;173.246.100.220&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;1&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-219-a.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;AAAA&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ipv6&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;2001:4b98:aaaa::dc&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;2&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-219-a.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;A&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ip&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;173.246.100.220&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;3&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; &lt;a href=&#034;http://www.php.net/array&#034;&gt;&lt;span style=&#034;color: #990000;&#034;&gt;array&lt;/span&gt;&lt;/a&gt; &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; host&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;ns-219-a.gandi.net&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; &lt;span style=&#034;color: #000000; font-weight: bold;&#034;&gt;class&lt;/span&gt;&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;IN&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ttl&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; long &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #cc66cc;&#034;&gt;34790&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; type&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;AAAA&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; ipv6&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;2001:4b98:aaaa::dc&#034;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li style=&#034;font-weight: normal; vertical-align:top;&#034;&gt;&lt;div style=&#034;&#034;&gt; IPV4&lt;span style=&#034;color: #339933;&#034;&gt;:&lt;/span&gt; string &lt;span style=&#034;color: #339933;&#034;&gt;=&lt;/span&gt; &lt;span style=&#034;color: #0000ff;&#034;&gt;&#034;151.80.20.125&#034;&lt;/span&gt; &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt;&lt;p class='download code_download'&gt;&lt;a href='https://nss.dnc.global/local/cache-code/d3224cac5aa7d3b329b1d12d99811e3a.txt'&gt;Download&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Examples of ARRAY rules&lt;/strong&gt;&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;ARRAY[HEADER][AUTHORITY]= 2 /*verify that there are two authoritative servers */&lt;br /&gt; ARRAY[HEADER][ADDITIONAL]&gt; 0 /* check that there is at least one additional server */&lt;br /&gt; ARRAY[RAW]=EDNS /* check EDNS support*/&lt;br /&gt; ARRAY[AUTHORITY SECTION][0][target]=ns-145-c.gandi.net&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;The last example shows a difficulty: if there are several authoritative servers, what is the rank of the one whose presence we want to check? The '*' sign in the ARRAY [] = rule is used to test all indexes:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;ARRAY[AUTHORITY SECTION][*][target]=ns-145-c.gandi.net&lt;/code&gt;&lt;/div&gt;&lt;h3 class=&#034;spip&#034;&gt;Inversion, combination, alert level&lt;/h3&gt;
&lt;p&gt;The inversion of the rules by NOT is possible for the TIME, MEAN and CONTAINS rules.&lt;/p&gt;
&lt;p&gt;The combination of the rules and the definition of the alert level are done in the same way as in the case of&lt;a href='https://nss.dnc.global/HTTP-monitoring-rules.html' class='spip_in'&gt;HTTP monitoring rules&lt;/a&gt;.&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Which DNS server is responding?&lt;/h3&gt;
&lt;p&gt;A DNS query specifies the server to query by providing the @ parameter as in the following examples:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;dns: //ns-219-a.g&#233;at/www.spip.net&lt;br /&gt; dns: // 2001: 4b98: aaaa :: dc / www.spip.net&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;If the request does not specify the server, the local NSS resolver at address 127.0.0.1 will respond. While this is appropriate in some cases, it is not the best way to ensure that a domain's DNS is working properly, as the resolver will not recursion until the SOA has expired.&lt;/p&gt;
&lt;p&gt;Furthermore, when the local resolver responds, it does so in Query time: 0 msec. It is not very interesting to know!&lt;/p&gt;
&lt;h3 class=&#034;spip&#034;&gt;Which DNS server should I query?&lt;/h3&gt;
&lt;p&gt;To ensure the proper functioning of the DNS, you must contact a domain authoritative nameserver. In the previous example, we queried one of the three authority servers for the domain &lt;a href=&#034;http://www.spip.net&#034; class='spip_url spip_out auto' rel='nofollow external'&gt;www.spip.net&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can find out the list of authority servers for the domain by issuing the following command in command mode:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;dig www.spip.net&lt;br /&gt; &lt;/dig&gt;&lt;br /&gt; that returns:&lt;br /&gt; &lt;code&gt;&lt;br /&gt; ; &lt;&lt;&gt;&gt; DiG 9.11.5-P4-5.1+deb10u2-Debian &lt;&lt;&gt;&gt; www.spip.net&lt;br /&gt; ;; global options: +cmd&lt;br /&gt; ;; Got answer:&lt;br /&gt; ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 3800&lt;br /&gt; ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 7&lt;br /&gt; &lt;br /&gt; ;; OPT PSEUDOSECTION:&lt;br /&gt; ; EDNS: version: 0, flags:; udp: 4096&lt;br /&gt; ; COOKIE: 798ddf1f8a880829b2ae2fae5f4f590bd9ae0131be4067c2 (good)&lt;br /&gt; ;; QUESTION SECTION:&lt;br /&gt; ;www.spip.net. IN A&lt;br /&gt; &lt;br /&gt; ;; ANSWER SECTION:&lt;br /&gt; www.spip.net. 1427 IN A 151.80.20.125&lt;br /&gt; &lt;br /&gt; ;; AUTHORITY SECTION:&lt;br /&gt; spip.net. 126583 IN NS ns-219-a.gandi.net.&lt;br /&gt; spip.net. 126583 IN NS ns-77-b.gandi.net.&lt;br /&gt; spip.net. 126583 IN NS ns-145-c.gandi.net.&lt;br /&gt; &lt;br /&gt; ;; ADDITIONAL SECTION:&lt;br /&gt; ns-77-b.gandi.net. 590 IN A 213.167.230.78&lt;br /&gt; ns-145-c.gandi.net. 545 IN A 217.70.187.146&lt;br /&gt; ns-219-a.gandi.net. 126583 IN A 173.246.100.220&lt;br /&gt; ns-77-b.gandi.net. 590 IN AAAA 2001:4b98:aaab::4e&lt;br /&gt; ns-145-c.gandi.net. 545 IN AAAA 2604:3400:aaac::92&lt;br /&gt; ns-219-a.gandi.net. 126583 IN AAAA 2001:4b98:aaaa::dc&lt;br /&gt; &lt;br /&gt; ;; Query time: 0 msec&lt;br /&gt; ;; SERVER: 127.0.0.1#53(127.0.0.1)&lt;br /&gt; ;; WHEN: Wed Sep 02 08:34:19 UTC 2020&lt;br /&gt; ;; MSG SIZE rcvd: 291&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;A good query would therefore be:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;dns://ns-219-a.gandi.net/www.spip.net&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;Public resolvers are also interesting, for example:&lt;/p&gt;
&lt;div style='text-align: left;' class='spip_code' dir='ltr'&gt;&lt;code&gt;dns://1.1.1.1/www.spip.net /* Cloudflare resolver */&lt;br /&gt; dns://8.8.8.8/www.spip.net /* Google resolver */&lt;/code&gt;&lt;/div&gt;&lt;h3 class=&#034;spip&#034;&gt;Note about HTTP codes&lt;/h3&gt;
&lt;p&gt;...&lt;/p&gt;&lt;/div&gt;
		
		</content:encoded>


		

	</item>



</channel>

</rss>
