pub struct DnsConfigurationPreferences {
pub override_local_dns: Option<bool>,
pub magic_dns: Option<bool>,
pub unknown: Unknown,
}Expand description
MagicDNS, and whether the tailnet’s nameservers replace the machine’s.
Fields§
§override_local_dns: Option<bool>true makes nameservers the resolvers; false leaves them as a
fallback behind whatever the OS is configured with.
magic_dns: Option<bool>MagicDNS, which needs a global nameserver to be on.
unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for DnsConfigurationPreferences
impl Clone for DnsConfigurationPreferences
Source§impl Debug for DnsConfigurationPreferences
impl Debug for DnsConfigurationPreferences
Source§impl<'de> Deserialize<'de> for DnsConfigurationPreferences
impl<'de> Deserialize<'de> for DnsConfigurationPreferences
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for DnsConfigurationPreferences
Auto Trait Implementations§
impl Freeze for DnsConfigurationPreferences
impl RefUnwindSafe for DnsConfigurationPreferences
impl Send for DnsConfigurationPreferences
impl Sync for DnsConfigurationPreferences
impl Unpin for DnsConfigurationPreferences
impl UnsafeUnpin for DnsConfigurationPreferences
impl UnwindSafe for DnsConfigurationPreferences
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more