{"id":1837,"date":"2017-03-01T22:46:18","date_gmt":"2017-03-01T22:46:18","guid":{"rendered":"https:\/\/live-infoblox-blog.pantheonsite.io\/?p=1837"},"modified":"2020-05-06T10:28:01","modified_gmt":"2020-05-06T17:28:01","slug":"coredns-for-kubernetes-service-discovery-take-2","status":"publish","type":"post","link":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/","title":{"rendered":"CoreDNS for Kubernetes Service Discovery, Take 2"},"content":{"rendered":"<p>Back in November we published\u00a0a blog post on\u00a0<a href=\"\/community\/coredns-for-kubernetes-service-discovery\/\" target=\"_blank\" rel=\"noopener noreferrer\">how to use CoreDNS instead of kube-dns<\/a>\u00a0in Kubernetes. Since then, we have advanced this functionality in CoreDNS dramatically. Take a look at the entry &#8220;<a href=\"https:\/\/blog.coredns.io\/2017\/03\/01\/coredns-for-kubernetes-service-discovery-take-2\/\" target=\"_self\" rel=\"nofollow noopener noreferrer\">CoreDNS for Kubernetes Service Discovery, Take 2<\/a>&#8221; in the\u00a0<a href=\"https:\/\/blog.coredns.io\/\" target=\"_self\" rel=\"nofollow noopener noreferrer\">CoreDNS Blog<\/a>\u00a0for all the details.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Back in November we published\u00a0a blog post on\u00a0how to use CoreDNS instead of kube-dns\u00a0in Kubernetes. Since then, we have advanced this functionality in CoreDNS dramatically. Take a look at the entry &#8220;CoreDNS for Kubernetes Service Discovery, Take 2&#8221; in the\u00a0CoreDNS Blog\u00a0for all the details.<\/p>\n","protected":false},"author":206,"featured_media":1838,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[3],"tags":[16,15],"class_list":{"0":"post-1837","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-community","8":"tag-infoblox","9":"tag-security","10":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>CoreDNS for Kubernetes Service Discovery, Take 2<\/title>\n<meta name=\"description\" content=\"Back in November we published a blog post on how to use CoreDNS instead of kube-dns in Kubernetes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CoreDNS for Kubernetes Service Discovery, Take 2\" \/>\n<meta property=\"og:description\" content=\"Back in November we published a blog post on how to use CoreDNS instead of kube-dns in Kubernetes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Infoblox Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-01T22:46:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-06T17:28:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/DNS-Encryption-Point-Counterpoint-Image.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"724\" \/>\n\t<meta property=\"og:image:height\" content=\"483\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"John Belamaric\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John Belamaric\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/\"},\"author\":{\"name\":\"John Belamaric\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/person\\\/053c2b18a442a1874857175dc9a15b97\"},\"headline\":\"CoreDNS for Kubernetes Service Discovery, Take 2\",\"datePublished\":\"2017-03-01T22:46:18+00:00\",\"dateModified\":\"2020-05-06T17:28:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/\"},\"wordCount\":54,\"publisher\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/DNS-Encryption-Point-Counterpoint-Image.jpg\",\"keywords\":[\"Infoblox\",\"Security\"],\"articleSection\":[\"Community\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/\",\"name\":\"CoreDNS for Kubernetes Service Discovery, Take 2\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/DNS-Encryption-Point-Counterpoint-Image.jpg\",\"datePublished\":\"2017-03-01T22:46:18+00:00\",\"dateModified\":\"2020-05-06T17:28:01+00:00\",\"description\":\"Back in November we published a blog post on how to use CoreDNS instead of kube-dns in Kubernetes.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/DNS-Encryption-Point-Counterpoint-Image.jpg\",\"contentUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/DNS-Encryption-Point-Counterpoint-Image.jpg\",\"width\":724,\"height\":483,\"caption\":\"cactus top view photo golden ball plant.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/coredns-for-kubernetes-service-discovery-take-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Community\",\"item\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/category\\\/community\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CoreDNS for Kubernetes Service Discovery, Take 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/\",\"name\":\"infoblox.com\\\/blog\\\/\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#organization\",\"name\":\"Infoblox\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-logo-2.svg\",\"contentUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-logo-2.svg\",\"width\":137,\"height\":30,\"caption\":\"Infoblox\"},\"image\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/person\\\/053c2b18a442a1874857175dc9a15b97\",\"name\":\"John Belamaric\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ab6c9e6e797ea8913b402cc81b586865538d4c2af6d47c87d3dbd804c02e886?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ab6c9e6e797ea8913b402cc81b586865538d4c2af6d47c87d3dbd804c02e886?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7ab6c9e6e797ea8913b402cc81b586865538d4c2af6d47c87d3dbd804c02e886?s=96&d=blank&r=g\",\"caption\":\"John Belamaric\"},\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/author\\\/john-belamaric\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"CoreDNS for Kubernetes Service Discovery, Take 2","description":"Back in November we published a blog post on how to use CoreDNS instead of kube-dns in Kubernetes.","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:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/","og_locale":"en_US","og_type":"article","og_title":"CoreDNS for Kubernetes Service Discovery, Take 2","og_description":"Back in November we published a blog post on how to use CoreDNS instead of kube-dns in Kubernetes.","og_url":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/","og_site_name":"Infoblox Blog","article_published_time":"2017-03-01T22:46:18+00:00","article_modified_time":"2020-05-06T17:28:01+00:00","og_image":[{"width":724,"height":483,"url":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/DNS-Encryption-Point-Counterpoint-Image.jpg","type":"image\/jpeg"}],"author":"John Belamaric","twitter_card":"summary_large_image","twitter_misc":{"Written by":"John Belamaric"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/#article","isPartOf":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/"},"author":{"name":"John Belamaric","@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/person\/053c2b18a442a1874857175dc9a15b97"},"headline":"CoreDNS for Kubernetes Service Discovery, Take 2","datePublished":"2017-03-01T22:46:18+00:00","dateModified":"2020-05-06T17:28:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/"},"wordCount":54,"publisher":{"@id":"https:\/\/www.infoblox.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/DNS-Encryption-Point-Counterpoint-Image.jpg","keywords":["Infoblox","Security"],"articleSection":["Community"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/","url":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/","name":"CoreDNS for Kubernetes Service Discovery, Take 2","isPartOf":{"@id":"https:\/\/www.infoblox.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/#primaryimage"},"image":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/DNS-Encryption-Point-Counterpoint-Image.jpg","datePublished":"2017-03-01T22:46:18+00:00","dateModified":"2020-05-06T17:28:01+00:00","description":"Back in November we published a blog post on how to use CoreDNS instead of kube-dns in Kubernetes.","breadcrumb":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/#primaryimage","url":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/DNS-Encryption-Point-Counterpoint-Image.jpg","contentUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/DNS-Encryption-Point-Counterpoint-Image.jpg","width":724,"height":483,"caption":"cactus top view photo golden ball plant."},{"@type":"BreadcrumbList","@id":"https:\/\/www.infoblox.com\/blog\/community\/coredns-for-kubernetes-service-discovery-take-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.infoblox.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Community","item":"https:\/\/www.infoblox.com\/blog\/category\/community\/"},{"@type":"ListItem","position":3,"name":"CoreDNS for Kubernetes Service Discovery, Take 2"}]},{"@type":"WebSite","@id":"https:\/\/www.infoblox.com\/blog\/#website","url":"https:\/\/www.infoblox.com\/blog\/","name":"infoblox.com\/blog\/","description":"","publisher":{"@id":"https:\/\/www.infoblox.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.infoblox.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.infoblox.com\/blog\/#organization","name":"Infoblox","url":"https:\/\/www.infoblox.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-logo-2.svg","contentUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-logo-2.svg","width":137,"height":30,"caption":"Infoblox"},"image":{"@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/person\/053c2b18a442a1874857175dc9a15b97","name":"John Belamaric","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7ab6c9e6e797ea8913b402cc81b586865538d4c2af6d47c87d3dbd804c02e886?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7ab6c9e6e797ea8913b402cc81b586865538d4c2af6d47c87d3dbd804c02e886?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7ab6c9e6e797ea8913b402cc81b586865538d4c2af6d47c87d3dbd804c02e886?s=96&d=blank&r=g","caption":"John Belamaric"},"url":"https:\/\/www.infoblox.com\/blog\/author\/john-belamaric\/"}]}},"_links":{"self":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts\/1837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/users\/206"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/comments?post=1837"}],"version-history":[{"count":2,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts\/1837\/revisions"}],"predecessor-version":[{"id":3682,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts\/1837\/revisions\/3682"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/media\/1838"}],"wp:attachment":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/media?parent=1837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/categories?post=1837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/tags?post=1837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}