{"id":49002,"date":"2023-02-20T00:00:00","date_gmt":"2023-02-19T23:00:00","guid":{"rendered":"https:\/\/jotelulu.com\/blog\/10-powershell-commands-for-managing-your-dns-server\/"},"modified":"2023-02-20T00:00:00","modified_gmt":"2023-02-19T23:00:00","slug":"10-powershell-commands-managing-dns-server","status":"publish","type":"post","link":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/","title":{"rendered":"10 PowerShell Commands for Managing Your DNS Server"},"content":{"rendered":"<p>In this article, we&rsquo;ll reveal&nbsp;<strong>10 PowerShell commands that you can use to manage your DNS server&nbsp;<\/strong>to keep everything under control as efficiently as possible.<\/p>\n<p>In a previous article, we looked at how to <a href=\"https:\/\/jotelulu.com\/blog\/comandos-powershell-dns-server\/\" target=\"_blank\" rel=\"noopener\">deploy a DNS server using PowerShell commands<\/a>, leaving you with a completely functional DNS server with very little effort.<\/p>\n<p>Furthermore, we saw that by using scripts, you can replicate the process really easily for future deployments.<\/p>\n<p>In this article, however, we&rsquo;re going to see how you can use PowerShell commands to perform maintenance tasks. So, here are ten commands that you can use to manage your DNS server in the easiest way possible.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>10 PowerShell Commands for Managing Your DNS Server<\/strong><\/h2>\n<p>Below, we&rsquo;ve listed ten cmdlets that you can use to manage your DNS server quickly and easily. In reality, all the tasks listed here can be performed using the graphic interface, which might seem easier, but PowerShell is much quicker.<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>1. Stop the DNS Service<\/strong><\/h3>\n<p>One of the most basic tasks that you need to know how to do is how to&nbsp;<strong>stop the service<\/strong>. This command can actually be used to stop all kinds of services but to stop the DNS service specifically, it will look something like this:<\/p>\n<p><em>Stop-Service DNS<\/em><\/p>\n<p>This command will only work on servers, not on client devices. On client devices, you can stop the cache but not the service entirely.<\/p>\n<p><figure id=\"attachment_17292\" aria-describedby=\"caption-attachment-17292\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17292 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-1.-Paramos-el-servicio-de-DNS-en-el-servidor-mediante-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 1 - Stop the DNS service on the server using PowerShell\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17292\" class=\"wp-caption-text\">Command 1 &ndash; Stop the DNS service on the server using PowerShell<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>2. Start the DNS Service<\/strong><\/h3>\n<p>Just as important as being able to stop the service is being able to start it again. And once again, this command can be used to start all kinds of services. But to start the DNS service, it will look like this:<\/p>\n<p><em>Start-Service DNS<\/em><\/p>\n<p>Normally, you won&rsquo;t see any confirmation message after running this command. Instead, if you want to check that the command has been run correctly, you can either launch the command &laquo;Get-Service DNS&raquo; or open the graphic interface.<\/p>\n<p><figure id=\"attachment_17293\" aria-describedby=\"caption-attachment-17293\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17293 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-2.-Arrancamos-el-servicio-de-DNS-en-el-servidor-mediante-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 2 - Start the DNS service on the server using PowerShell\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17293\" class=\"wp-caption-text\">Command 2 &ndash; Start the DNS service on the server using PowerShell<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>3. Restart the DNS Service<\/strong><\/h3>\n<p>You already know how to start and stop the service, but sometimes you might want to stop it and start again straight away.<\/p>\n<p>Luckily, you can do this with a single reset command, which&nbsp;<strong>looks like this<\/strong>:<\/p>\n<p><em>Restart-Service DNS<\/em><\/p>\n<p>This command will order the server to re-read the configuration files, and that way, you can apply changes or resolve an error.<\/p>\n<p>With these three commands, you&rsquo;ve now got the basics taken care of.<\/p>\n<p>&nbsp;<\/p>\n<p><figure id=\"attachment_17294\" aria-describedby=\"caption-attachment-17294\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17294 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-3.-Rearrancamos-el-servicio-de-DNS-en-el-servidor-mediante-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 3 - Reset the DNS server using PowerShell\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17294\" class=\"wp-caption-text\">Command 3 &ndash; Reset the DNS server using PowerShell<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>4. Check DNS Resolution<\/strong><\/h3>\n<p>Another common task is to check the name resolution to see whether the system can resolve a specific name.<\/p>\n<p>The cmdlet &laquo;Resolve-DnsName&raquo; queries the DNS for the specified name.<\/p>\n<p>This cmdlet performs a similar task to nslookup, which allows users to query names.<\/p>\n<p>There are two ways of using this command, as you can choose to specify the server to use if you wish.<\/p>\n<p>If you don&rsquo;t want to specify a server to use, the command will look something like this (using the Jotelulu website as an example):<\/p>\n<p>Resolve-DnsName -Name www.jotelulu.com<\/p>\n<p>However, if you want to use a specific server to resolve the query, the command will look like this:<\/p>\n<p>Resolve-DnsName -Name www.jotelulu.com -Server 10.0.0.1<\/p>\n<p><figure id=\"attachment_17295\" aria-describedby=\"caption-attachment-17295\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17295 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-4.-Comprobar-la-resolucion-de-nombres-mediante-comando-de-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 4 - Check name resolution\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17295\" class=\"wp-caption-text\">Command 4 &ndash; Check name resolution<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>5. Show the DNS Cache<\/strong><\/h3>\n<p>Now and again, you might be interested to see what the resolver cache looks like, whether from a server or a client device. To do this, you can either use the classic command prompt or use our good old friend PowerShell.<\/p>\n<p>To&nbsp;<strong>show the contents of the DNS cache&nbsp;<\/strong>using PowerShell, simply run the following command:<\/p>\n<p><em>Show-DnsServerCache<\/em><\/p>\n<p>This command will return pages and pages of entries, so you might want to dump the results into a text document so you can examine it in more detail.<\/p>\n<p><figure id=\"attachment_17296\" aria-describedby=\"caption-attachment-17296\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17296 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-5-Mostramos-el-contenido-de-la-cache-de-DNS-mediante-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 5 - Show the contents of the DNS cache\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17296\" class=\"wp-caption-text\">Command 5 &ndash; Show the contents of the DNS cache<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>6. Clear the DNS Cache<\/strong><\/h3>\n<p>You can also&nbsp;<strong>clear the DNS cache&nbsp;<\/strong>for your server or client device. To do this, simply run the following command:<\/p>\n<p><em>Clear-DnsServerCache<\/em><\/p>\n<p>This command can be run in between two queries so that you can see that the entries have been deleted.<\/p>\n<p><figure id=\"attachment_17297\" aria-describedby=\"caption-attachment-17297\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17297 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-6.-Limpiamos-la-cache-del-servicio-de-DNS-mediante-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 6 - Clear the DNS cache\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17297\" class=\"wp-caption-text\">Command 6 &ndash; Clear the DNS cache<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>7. Review the DNS Server Statistics<\/strong><\/h3>\n<p>Another interesting thing you can do with PowerShell is&nbsp;<strong>consult the DNS Server statistics<\/strong>, which will show you things like entries, queries, etc.<\/p>\n<p>You can perform this task using the graphic interface too, but PowerShell is still quicker. Here&rsquo;s the cmdlet:<\/p>\n<p><em>Get-DnsServerStatistics<\/em><\/p>\n<p>Again, there will be a lot of data here, so you&rsquo;ll probably want to move it all into a text file for easier reading.<\/p>\n<p><figure id=\"attachment_17298\" aria-describedby=\"caption-attachment-17298\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17298 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-7.-Revisamos-las-estadisticas-del-servicio-de-DNS-mediante-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 7 - Review the DNS Server statistics\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17298\" class=\"wp-caption-text\">Command 7 &ndash; Review the DNS Server statistics<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>8. Review the DNS Service Settings<\/strong><\/h3>\n<p>If you need to take a look at the settings for your DNS server, there&rsquo;s a PowerShell command for that too!<\/p>\n<p>To see the <strong>configuration details <\/strong>for your DNS Server, simply run the following cmdlet:<\/p>\n<p><em>Get-DnsServer<\/em><\/p>\n<p>A useful thing to do with the output of this command is to save it in a text file for future consultation. That way, you&rsquo;ll have a record of previous settings if you make any changes later on.<\/p>\n<p><figure id=\"attachment_17299\" aria-describedby=\"caption-attachment-17299\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17299 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-8.-Revisar-los-detalles-de-la-configuracion-del-servicio-de-DNS-mediante-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 8 - Review your DNS Server settings\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17299\" class=\"wp-caption-text\">Command 8 &ndash; Review your DNS Server settings<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>9. Add New Service and Device Records<\/strong><\/h3>\n<p>Another command task when managing a DNS server is registering all the services, devices and servers that your infrastructure uses.<\/p>\n<p>To do this, you need to use the different kinds of records stored on the DNS server.<\/p>\n<p>&nbsp;<\/p>\n<p><em>Add-DnsServerResourceRecordCName -ZoneName &lt;ZONE_NAME&gt; -Name &nbsp;&lt;ENTRY&gt; &nbsp;-HostNameAlias &lt;FULL_ALIAS&gt;<\/em><\/p>\n<p>Where:<\/p>\n<ul>\n<li>Add-DnsServerResourceRecordCName is the command to add a CNAME record.<\/li>\n<li>ZoneName &lt;ZONE_NAME&gt; specifies the zone.<\/li>\n<li>Name &lt;ENTRY&gt; specifies the name of the record.<\/li>\n<li>HostNameAlias &lt;FULL_ALIAS&gt; specifies an alias for the new input<\/li>\n<\/ul>\n<p>Here&rsquo;s an example:<\/p>\n<p><em>Add-DnsServerResourceRecordCName -ZoneName jotelulu.com -Name nacho-test -HostNameAlias nacho-test-jotelulu.com<\/em><\/p>\n<p>This example adds a CNAME record. For other types of records, this command will vary.<\/p>\n<p>Here are a few more examples.<\/p>\n<p>For a PTR Record:<\/p>\n<p><em>Add-DNSServerResourceRecordPTR -ZoneName 1.168.192.in-jotelulu.com -Name 12 -PTRDomainName nacho1-jotelulu.com<\/em><\/p>\n<p>For an A Record:<\/p>\n<p><em>Add-DnsServerResourceRecordA -Name pointer -IPv4Address 192.168.1.122 -ZoneName server1.jotelulu.com -TimeToLive 01:00:00<\/em><\/p>\n<p>For an AAA Record:<\/p>\n<p><em>Add-DnsServerResourceRecordAAAA -Name &laquo;nachopc&raquo; -ZoneName &laquo;jotelulu.com&raquo; -AllowUpdateAny -IPv6Address &laquo;fff4::1&raquo; -TimeToLive 01:00:00<\/em><\/p>\n<p>For an MX Record:<\/p>\n<p><em>Add-DnsServerResourceRecordMX -Preference 10&nbsp; -Name &laquo;.&raquo; -TimeToLive 01:00:00 -MailExchange &laquo;mail.jotelulu.com&raquo; -ZoneName &laquo;jotelulu.com&raquo;<\/em><\/p>\n<p>For more examples, check out the <a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/dnsserver\/?view=windowsserver2022-ps\">PowerShell documentation for DNS<\/a>.<\/p>\n<p><figure id=\"attachment_17300\" aria-describedby=\"caption-attachment-17300\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17300 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-9.-Anadimos-nuevos-registros-de-servicios-y-equipos-al-DNS-con-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 9 - Add new service and device records to the DNS\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17300\" class=\"wp-caption-text\">Command 9 &ndash; Add new service and device records to the DNS<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>10. Remove Service and Device Records<\/strong><\/h3>\n<p>Just as you can add records using PowerShell, you can also remove records from your DNS really easily using the command &ldquo;Remove-DnsServerResourceRecord&rdquo;. In fact, it&rsquo;s almost exactly the same as the command to add a service. You just need to change the verb at the beginning.<\/p>\n<p><em>Remove-DnsServerResourceRecord -ZoneName &lt;ZONE_NAME&gt; -RRType &lt;RECORD_TYPE&gt; -Name &lt;ENTRY&gt; &ndash;Force<\/em><\/p>\n<p>Where:<\/p>\n<ul>\n<li>Remove-DnsServerResourceRecord is the command to remove the record.<\/li>\n<li>ZoneName &lt;ZONE_NAME&gt; specifies the zone.<\/li>\n<li>RRType &lt;RECORD_TYPE&gt; specifies the type of record, such as A, AAA, MX, CNAME, etc.<\/li>\n<li>Name &lt;ENTRY&gt; is the name of the record that needs to be removed.<\/li>\n<li>Force: Forces the deletion.<\/li>\n<\/ul>\n<p>As with the previous command, you need to distinguish between the different types of records (A, AAA, MX, etc.).<\/p>\n<p>Here&rsquo;s an example:<\/p>\n<p><em>Remove-DnsServerResourceRecord -ZoneName jotelulu.com -RRType A -Name pc-jioller &ndash;Force<\/em><\/p>\n<p><figure id=\"attachment_17301\" aria-describedby=\"caption-attachment-17301\" style=\"width: 1930px\" class=\"wp-caption alignnone\"><img decoding=\"async\" data-recalc-dims=\"1\" loading=\"lazy\" class=\"wp-image-17301 size-full\" src=\"https:\/\/i0.wp.com\/jotelulu.com\/wp-content\/uploads\/2023\/02\/Comando-10.-Damos-de-baja-registros-de-servicios-y-equipos-del-DNS-mediante-PowerShell.jpg?resize=800%2C452&amp;ssl=1\" alt=\"Command 10 - Remove records from the DNS\" width=\"800\" height=\"452\"><figcaption id=\"caption-attachment-17301\" class=\"wp-caption-text\">Command 10 &ndash; Remove records from the DNS<\/figcaption><\/figure>\n<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Summary<\/strong><\/h2>\n<p>By knowing&nbsp;<strong>just a few PowerShell commands, you can make managing your DNS server much simpler and more efficient<\/strong>.<\/p>\n<p>Pretty much any basic administration task can be performed using these cmdlets. If you&rsquo;d like to read more about this topic, take a look at our other article on this blog on <a href=\"https:\/\/jotelulu.com\/blog\/comandos-powershell-dns-server\/\" target=\"_blank\" rel=\"noopener\">deploying a DNS server using PowerShell commands<\/a>.<\/p>\n<p>And if you&rsquo;d like to read more about DNS in general, check out <a href=\"https:\/\/jotelulu.com\/blog\/que-hacer-cuando-el-servidor-dns-no-responde\/\" target=\"_blank\" rel=\"noopener\">this article on what to do when your DNS server doesn&rsquo;t respond<\/a>.<\/p>\n<p>Thanks for choosing Jotelulu!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we&rsquo;ll reveal&nbsp;10 PowerShell commands that you can use to manage your DNS server&nbsp;to keep everything under control as efficiently as possible. In a previous article, we looked at how to deploy a DNS server using PowerShell commands, leaving you with a completely functional DNS server with very little effort. Furthermore, we saw [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":17303,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-49002","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-y-sistemas"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>10 PowerShell Commands for Managing Your DNS Server<\/title>\n<meta name=\"description\" content=\"In this article, we&#039;ll reveal\u00a010 PowerShell commands that you can use to manage your DNS server\u00a0to keep everything under control as efficiently as possible.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"10 PowerShell Commands for Managing Your DNS Server\" \/>\n<meta property=\"og:description\" content=\"In this article, we&#039;ll reveal\u00a010 PowerShell commands that you can use to manage your DNS server\u00a0to keep everything under control as efficiently as possible.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Jotelulu\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-19T23:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/02\/10-comandos-de-powershell-DNS-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1196\" \/>\n\t<meta property=\"og:image:height\" content=\"723\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Juan Ignacio Oller Aznar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juan Ignacio Oller Aznar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/\"},\"author\":{\"name\":\"Juan Ignacio Oller Aznar\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#\\\/schema\\\/person\\\/2ae97818cae086c48f108cd74234aca9\"},\"headline\":\"10 PowerShell Commands for Managing Your DNS Server\",\"datePublished\":\"2023-02-19T23:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/\"},\"wordCount\":1403,\"image\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jotelulu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/10-comandos-de-powershell-DNS-1.png\",\"articleSection\":[\"Cloud y sistemas\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/\",\"url\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/\",\"name\":\"10 PowerShell Commands for Managing Your DNS Server\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jotelulu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/10-comandos-de-powershell-DNS-1.png\",\"datePublished\":\"2023-02-19T23:00:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#\\\/schema\\\/person\\\/2ae97818cae086c48f108cd74234aca9\"},\"description\":\"In this article, we'll reveal\u00a010 PowerShell commands that you can use to manage your DNS server\u00a0to keep everything under control as efficiently as possible.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/jotelulu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/10-comandos-de-powershell-DNS-1.png\",\"contentUrl\":\"https:\\\/\\\/jotelulu.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/10-comandos-de-powershell-DNS-1.png\",\"width\":1196,\"height\":723,\"caption\":\"Comandos de powershell para gestionar tu DNS Server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/blog\\\/10-powershell-commands-managing-dns-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"10 PowerShell Commands for Managing Your DNS Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#website\",\"url\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/\",\"name\":\"Jotelulu\",\"description\":\"Cloud Paradise for Tech Companies\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/#\\\/schema\\\/person\\\/2ae97818cae086c48f108cd74234aca9\",\"name\":\"Juan Ignacio Oller Aznar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g\",\"caption\":\"Juan Ignacio Oller Aznar\"},\"url\":\"https:\\\/\\\/jotelulu.com\\\/en-gb\\\/author\\\/juanignaciooller\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"10 PowerShell Commands for Managing Your DNS Server","description":"In this article, we'll reveal\u00a010 PowerShell commands that you can use to manage your DNS server\u00a0to keep everything under control as efficiently as possible.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/","og_locale":"en_GB","og_type":"article","og_title":"10 PowerShell Commands for Managing Your DNS Server","og_description":"In this article, we'll reveal\u00a010 PowerShell commands that you can use to manage your DNS server\u00a0to keep everything under control as efficiently as possible.","og_url":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/","og_site_name":"Jotelulu","article_published_time":"2023-02-19T23:00:00+00:00","og_image":[{"width":1196,"height":723,"url":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/02\/10-comandos-de-powershell-DNS-1.png","type":"image\/png"}],"author":"Juan Ignacio Oller Aznar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Juan Ignacio Oller Aznar","Estimated reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/#article","isPartOf":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/"},"author":{"name":"Juan Ignacio Oller Aznar","@id":"https:\/\/jotelulu.com\/en-gb\/#\/schema\/person\/2ae97818cae086c48f108cd74234aca9"},"headline":"10 PowerShell Commands for Managing Your DNS Server","datePublished":"2023-02-19T23:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/"},"wordCount":1403,"image":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/#primaryimage"},"thumbnailUrl":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/02\/10-comandos-de-powershell-DNS-1.png","articleSection":["Cloud y sistemas"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/","url":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/","name":"10 PowerShell Commands for Managing Your DNS Server","isPartOf":{"@id":"https:\/\/jotelulu.com\/en-gb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/#primaryimage"},"image":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/#primaryimage"},"thumbnailUrl":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/02\/10-comandos-de-powershell-DNS-1.png","datePublished":"2023-02-19T23:00:00+00:00","author":{"@id":"https:\/\/jotelulu.com\/en-gb\/#\/schema\/person\/2ae97818cae086c48f108cd74234aca9"},"description":"In this article, we'll reveal\u00a010 PowerShell commands that you can use to manage your DNS server\u00a0to keep everything under control as efficiently as possible.","breadcrumb":{"@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/#primaryimage","url":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/02\/10-comandos-de-powershell-DNS-1.png","contentUrl":"https:\/\/jotelulu.com\/wp-content\/uploads\/2023\/02\/10-comandos-de-powershell-DNS-1.png","width":1196,"height":723,"caption":"Comandos de powershell para gestionar tu DNS Server"},{"@type":"BreadcrumbList","@id":"https:\/\/jotelulu.com\/en-gb\/blog\/10-powershell-commands-managing-dns-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/jotelulu.com\/en-gb\/"},{"@type":"ListItem","position":2,"name":"10 PowerShell Commands for Managing Your DNS Server"}]},{"@type":"WebSite","@id":"https:\/\/jotelulu.com\/en-gb\/#website","url":"https:\/\/jotelulu.com\/en-gb\/","name":"Jotelulu","description":"Cloud Paradise for Tech Companies","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jotelulu.com\/en-gb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/jotelulu.com\/en-gb\/#\/schema\/person\/2ae97818cae086c48f108cd74234aca9","name":"Juan Ignacio Oller Aznar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87efd80399b2c40a1d78dd5cee4e788d3f6c29d33e3b67bcfbc6abbf91d0fdcf?s=96&d=mm&r=g","caption":"Juan Ignacio Oller Aznar"},"url":"https:\/\/jotelulu.com\/en-gb\/author\/juanignaciooller\/"}]}},"_links":{"self":[{"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/posts\/49002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/comments?post=49002"}],"version-history":[{"count":0,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/posts\/49002\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/media\/17303"}],"wp:attachment":[{"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/media?parent=49002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/categories?post=49002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jotelulu.com\/en-gb\/wp-json\/wp\/v2\/tags?post=49002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}