<head></head><body style="line-height: 1.5; font-size: 14px; color: rgba(38, 42, 51, 0.9);">
<div style="font-family:Source Han Sans;font-size:14px;line-height:1.5;
      " data-mce-style="font-family:Source Han Sans;font-size:14px;line-height:1.5;
      "><div><p style="box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; white-space: pre-wrap; word-break: break-word; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">Hi All,</span></p><p style="box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; white-space: pre-wrap; word-break: break-word; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">Happy New Year!</span></p><p style="box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; white-space: pre-wrap; word-break: break-word; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">I am writing to seek your assistance regarding the configuration of Dnsmasq to achieve specific DNS forwarding rules that cater to our network requirements. Specifically, we are looking to set up different upstream DNS servers for A and AAAA record queries while ensuring all other types of DNS queries follow a default path.</span></p><p style="box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; white-space: pre-wrap; word-break: break-word; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">Our goal is as follows:</span></p><ul style="box-sizing: border-box; margin-block: 0px; margin-inline: 0px; padding-inline-start: 0px; margin-bottom: 1em; margin-top: 1em; padding-left: 2em; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><li style="box-sizing: border-box; margin-block: 0px; margin-inline: 0px; padding-inline-start: 0px; margin: 0.5em 0px;" data-spm-anchor-id="5176.28103460.0.i7.297c5d27ggwcBS"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">Forward all A record queries to 211.136.150.66.</span></li><li style="box-sizing: border-box; margin-block: 0px; margin-inline: 0px; padding-inline-start: 0px; margin: 0.5em 0px;"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">Forward all AAAA record queries to 202.120.2.100.</span></li><li style="box-sizing: border-box; margin-block: 0px; margin-inline: 0px; padding-inline-start: 0px; margin: 0.5em 0px;"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">For all other query types, we wish to use a default upstream server.</span></li></ul><p style="box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; white-space: pre-wrap; word-break: break-word; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-spm-anchor-id="5176.28103460.0.i11.297c5d27ggwcBS"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">After reviewing the available documentation, it appears that implementing these rules might not be straightforward with the current syntax provided by Dnsmasq. </span></p><p style="box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; white-space: pre-wrap; word-break: break-word; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-spm-anchor-id="5176.28103460.0.i13.297c5d27ggwcBS"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">Could you kindly provide guidance on how best to configure Dnsmasq to meet these requirements? If there are any alternative methods or additional settings within Dnsmasq that would facilitate this setup, we would greatly appreciate your advice.</span></p><p style="box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; white-space: pre-wrap; word-break: break-word; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-spm-anchor-id="5176.28103460.0.i15.297c5d27ggwcBS"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">Thank you very much for your time and support. I look forward to your response.</span></p><p style="box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; white-space: pre-wrap; word-break: break-word; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-spm-anchor-id="5176.28103460.0.i16.297c5d27ggwcBS"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">Best regards,</span></p><p style="box-sizing: border-box; margin-bottom: 1em; margin-top: 1em; white-space: pre-wrap; word-break: break-word; color: rgb(44, 44, 54); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0.08px; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-spm-anchor-id="5176.28103460.0.i16.297c5d27ggwcBS"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">Tom Zhou</span></p></div></div><div class="mail-signature"><div class="lingxi-signature-container" style="font-family: PingFang,Source Han Sans,sans-serif;"><table style="border-collapse: collapse;width: 100%;text-size-adjust:none !important;table-layout: fixed;" class="mce-item-table">               <tbody style="text-size-adjust:none !important;word-wrap:break-word; word-break:break-all;">                                   </tbody>          </table><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">                    </span><div id="lingxi-signature-v2-block" style="width: 100%;text-decoration: none;text-underline: none;"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">               </span><div id="lingxi-signature-v2-content" itemid="id" style="max-width: 95%;font-size: 14px;line-height: 16px;color: #7A8599;padding: 16px 16px 4px 0px;margin-left: 0px;" itemprop="3542035"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">                    </span><div style="color: #232D47;border: none;margin-bottom:4px;font-size: 16px;line-height: 20px;text-underline: none;font-weight: bolder;" itemid="name"></div><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">                                                            </span><div style="border: none;margin-bottom:8px;text-underline: none;"><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">bestzyq@bestzyq.cn</span></div><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">                                                                           </span></div><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">          </span></div><span style="font-family: "times new roman", times;" data-mce-style="font-family: 'times new roman', times;">                         </span></div></div><div>
<br></div>
<br></body>