anchor.diff:                     config.services.dnsmasq.resolveLocalQueries;
     hasLocalResolver = config.services.bind.enable || dnsmasqResolve;
   
  +  resolvconfOptions =
  +    builtins.replaceStrings ["\n"] [" "]
  +      (cfg.resolvconfOptions +
  +      (optionalString cfg.dnsSingleRequest " single-request") +
  +      (optionalString cfg.dnsExtensionMechanism " ends0"));
   in
   
   {
  
positive.code:       '';
      };
  
  
      networking.proxy = {
  
  
negative.code:               # Invalidate the nscd cache whenever resolv.conf is
                # regenerated.
                libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service 2> /dev/null'
              '' + optionalString ((stringLength resolvconfOptions) > 0) ''
                # Options as described in resolv.conf(5)
                resolv_conf_options='${resolvconfOptions}'
              '' + optionalString hasLocalResolver ''
                # This hosts runs a full-blown DNS resolver.
                name_servers='127.0.0.1'
  