fly_sdk/machines/
networking.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Serialize, Deserialize, Debug)]
4pub struct DnsConfig {
5 pub dns_forward_rules: Option<Vec<DnsForwardRule>>,
6 pub hostname: Option<String>,
7 pub hostname_fqdn: Option<String>,
8 pub nameservers: Option<Vec<String>>,
9 pub options: Option<Vec<String>>,
10 pub searches: Option<Vec<String>>,
11 pub skip_registration: Option<bool>,
12}
13
14#[derive(Serialize, Deserialize, Debug)]
15pub struct DnsForwardRule {
16 pub source: String,
17 pub destination: String,
18 pub protocol: Option<String>,
19}
20