Disable CoreDNS AAAA (ipv6) query response

My intranet network do not need AAAA DNS lookup. To reduce load to my CoreDNS cluster I have to disable AAAA.

This is how:

.:53 {
rewrite stop type AAAA A
loadbalance
reload 30s
log . "{remote} {type} {name} {class} {size} {rcode} {duration}"
cache 3600
forward . 10.18.0.124 10.19.0.125 10.16.4.245
}

Done

edit1:

Found better solution

template ANY AAAA {rcode NOERROR}

--

--

--

Very short and simple notes for CKA/SRE and may not works on your environment.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Boosting up your Rancher and build infrastructure as code with cattlectl

Coroutines Primer Expanded

3 problem-solving skills I learned as a maintenance engineer that you can use right now

Why did I buy a Raspberry Pi?

Using Reduce in Python

2021 Reading list

Turbines of Esterle hydro power plant

Persisting fast in database

How to access Fitbit Web APIs

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jbn1233

Jbn1233

Very short and simple notes for CKA/SRE and may not works on your environment.

More from Medium

A Home for the Homeless

Experience working in the ColoredCow office

The Long Game — Issue #247

This is Why Your Legs CRAMP Up at Night How to Stop it From Happening Ever Again