Home
last modified time | relevance | path

Searched refs:resolv_conf (Results 1 – 25 of 96) sorted by relevance

1234

/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/resolv-conf-0.7.0/tests/
H A Dlib.rs1 extern crate resolv_conf;
3 use resolv_conf::{Network, ScopedIp, Lookup, Family};
11 resolv_conf::Config::parse("#").unwrap(); in test_comment()
12 resolv_conf::Config::parse(";").unwrap(); in test_comment()
13 resolv_conf::Config::parse("#junk").unwrap(); in test_comment()
14 resolv_conf::Config::parse("# junk").unwrap(); in test_comment()
15 resolv_conf::Config::parse(";junk").unwrap(); in test_comment()
16 resolv_conf::Config::parse("; junk").unwrap(); in test_comment()
23 fn parse_str(s: &str) -> resolv_conf::Config { in parse_str()
24 resolv_conf::Config::parse(s).unwrap() in parse_str()
[all …]
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/resolv-conf-0.6.3/tests/
H A Dlib.rs1 extern crate resolv_conf;
3 use resolv_conf::{Network, ScopedIp, Lookup, Family};
11 resolv_conf::Config::parse("#").unwrap(); in test_comment()
12 resolv_conf::Config::parse(";").unwrap(); in test_comment()
13 resolv_conf::Config::parse("#junk").unwrap(); in test_comment()
14 resolv_conf::Config::parse("# junk").unwrap(); in test_comment()
15 resolv_conf::Config::parse(";junk").unwrap(); in test_comment()
16 resolv_conf::Config::parse("; junk").unwrap(); in test_comment()
23 fn parse_str(s: &str) -> resolv_conf::Config { in parse_str()
24 resolv_conf::Config::parse(s).unwrap() in parse_str()
[all …]
/dports/net/proby/proby-1.0.2/cargo-crates/resolv-conf-0.6.3/tests/
H A Dlib.rs1 extern crate resolv_conf;
3 use resolv_conf::{Network, ScopedIp, Lookup, Family};
11 resolv_conf::Config::parse("#").unwrap(); in test_comment()
12 resolv_conf::Config::parse(";").unwrap(); in test_comment()
13 resolv_conf::Config::parse("#junk").unwrap(); in test_comment()
14 resolv_conf::Config::parse("# junk").unwrap(); in test_comment()
15 resolv_conf::Config::parse(";junk").unwrap(); in test_comment()
16 resolv_conf::Config::parse("; junk").unwrap(); in test_comment()
23 fn parse_str(s: &str) -> resolv_conf::Config { in parse_str()
24 resolv_conf::Config::parse(s).unwrap() in parse_str()
[all …]
/dports/net/oha/oha-0.4.7/cargo-crates/resolv-conf-0.7.0/tests/
H A Dlib.rs1 extern crate resolv_conf;
3 use resolv_conf::{Network, ScopedIp, Lookup, Family};
11 resolv_conf::Config::parse("#").unwrap(); in test_comment()
12 resolv_conf::Config::parse(";").unwrap(); in test_comment()
13 resolv_conf::Config::parse("#junk").unwrap(); in test_comment()
14 resolv_conf::Config::parse("# junk").unwrap(); in test_comment()
15 resolv_conf::Config::parse(";junk").unwrap(); in test_comment()
16 resolv_conf::Config::parse("; junk").unwrap(); in test_comment()
23 fn parse_str(s: &str) -> resolv_conf::Config { in parse_str()
24 resolv_conf::Config::parse(s).unwrap() in parse_str()
[all …]
/dports/devel/resolv_wrapper/resolv_wrapper-1.1.5/tests/
H A Dtest_res_init.c22 FILE *resolv_conf; member
33 test_state->resolv_conf = NULL; in setup()
39 test_state->resolv_conf = fdopen(test_state->rc_fd, "a"); in setup()
40 assert_non_null(test_state->resolv_conf); in setup()
55 if (test_state->resolv_conf) { in teardown()
56 fclose(test_state->resolv_conf); in teardown()
105 fputs("# Hello world\n", test_state->resolv_conf); in test_res_ninit()
108 fputs("nameserver ", test_state->resolv_conf); in test_res_ninit()
109 fputs(nameservers[i], test_state->resolv_conf); in test_res_ninit()
110 fputs("\n", test_state->resolv_conf); in test_res_ninit()
[all …]
H A Dtorture.c153 return s->resolv_conf; in torture_server_resolv_conf()
160 FILE *resolv_conf; in torture_setup_resolv_conf() local
167 resolv_conf = fdopen(rc_fd, "a"); in torture_setup_resolv_conf()
168 assert_non_null(resolv_conf); in torture_setup_resolv_conf()
171 fputs("nameserver ", resolv_conf); in torture_setup_resolv_conf()
172 fputs(nameservers[i], resolv_conf); in torture_setup_resolv_conf()
173 fputs("\n", resolv_conf); in torture_setup_resolv_conf()
175 fflush(resolv_conf); in torture_setup_resolv_conf()
177 fclose(resolv_conf); in torture_setup_resolv_conf()
232 s->resolv_conf = torture_setup_resolv_conf(nameservers, 1); in torture_setup_dns_srv_ip()
[all …]
/dports/dns/radns/radns-20110809-2/
H A Dradns-script20 if [ "$resolv_conf" = "" ]
24 echo "$0: Environment variable $resolv_conf not set. Exiting..."
30 if [ ! -f $resolv_conf ]
34 echo "$0: $resolv_conf is not an ordinary file or does not exist. Exiting..."
43 resolvconf -a $if < $resolv_conf
/dports/sysutils/webmin/webmin-1.981/ppp-client/
H A Dppp-client-lib.pl10 $resolv_conf = "/etc/resolv.conf";
12 $save_resolv_conf = $resolv_conf.".save";
268 local @ost = stat($resolv_conf);
281 &system_logged("cp $resolv_conf $save_resolv_conf")
282 if (!-l $resolv_conf);
283 unlink($resolv_conf);
284 &system_logged("cp $ppp_resolv_conf $resolv_conf");
343 local @ost = stat($resolv_conf);
344 if (!-l $resolv_conf && $ost[9] < time()-5 && -r $save_resolv_conf) {
345 &system_logged("mv $save_resolv_conf $resolv_conf");
/dports/net/cloud-init/cloud-init-21.4/tests/unittests/test_distros/
H A Dtest_resolv.py3 from cloudinit.distros.parsers import resolv_conf
21 rp = resolv_conf.ResolvConf(BASE_RESOLVE)
26 rp = resolv_conf.ResolvConf(BASE_RESOLVE)
34 rp = resolv_conf.ResolvConf(BASE_RESOLVE)
47 rp = resolv_conf.ResolvConf(BASE_RESOLVE)
/dports/dns/gdnsd2/gdnsd-2.4.3/t/Net/DNS/Resolver/
H A DUNIX.pm14 my $resolv_conf = '/etc/resolv.conf';
24 $class->read_config_file($resolv_conf) if -f $resolv_conf && -r _;
/dports/www/firefox-legacy/firefox-52.8.0esr/ipc/chromium/src/third_party/libevent/sample/
H A Ddns-example.c148 const char *resolv_conf = NULL; in main() local
166 resolv_conf = v[++idx]; in main()
206 if (resolv_conf == NULL) in main()
212 resolv_conf ? resolv_conf : "/etc/resolv.conf"); in main()
/dports/net/cloud-init/cloud-init-21.4/cloudinit/distros/
H A Darch.py76 entries, resolv_conf=self.resolve_conf_fn,
180 resolv_conf="etc/resolv.conf", enable_func=None): argument
187 resolv_conf = subp.target_path(target, resolv_conf)
212 util.write_file(resolv_conf,
/dports/security/gnupg/gnupg-2.3.3/dirmngr/
H A Ddns-stuff.c166 struct dns_resolv_conf *resolv_conf; member
454 if (libdns.resolv_conf) in libdns_init()
459 ld.resolv_conf = dns_resconf_open (&derr); in libdns_init()
460 if (!ld.resolv_conf) in libdns_init()
568 ld.resolv_conf->lookup[0] = 'f'; in libdns_init()
569 ld.resolv_conf->lookup[1] = 'b'; in libdns_init()
570 ld.resolv_conf->lookup[2] = '\0'; in libdns_init()
581 if (strlen (ld.resolv_conf->lookup)+2 < sizeof ld.resolv_conf->lookup) in libdns_init()
585 strcat (ld.resolv_conf->lookup, "b"); in libdns_init()
667 if (!libdns.resolv_conf) in libdns_deinit()
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/resolv-conf-0.7.0/examples/
H A Dparse.rs4 extern crate resolv_conf;
11 let cfg = resolv_conf::Config::parse(&buf).unwrap(); in main()
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/resolv-conf-0.6.3/examples/
H A Dparse.rs4 extern crate resolv_conf;
11 let cfg = resolv_conf::Config::parse(&buf).unwrap(); in main()
/dports/net/proby/proby-1.0.2/cargo-crates/resolv-conf-0.6.3/examples/
H A Dparse.rs4 extern crate resolv_conf;
11 let cfg = resolv_conf::Config::parse(&buf).unwrap(); in main()
/dports/net/oha/oha-0.4.7/cargo-crates/resolv-conf-0.7.0/examples/
H A Dparse.rs4 extern crate resolv_conf;
11 let cfg = resolv_conf::Config::parse(&buf).unwrap(); in main()
/dports/mail/mailfromd/mailfromd-8.10/tests/
H A Dresolv.c301 char *resolv_conf = NULL; in main() local
313 resolv_conf = optarg; in main()
340 assert(!(resolv_conf && op)); in main()
342 if (resolv_conf) in main()
343 dnsbase_file_init(resolv_conf); in main()
/dports/net-mgmt/lldpd/lldpd-1.0.8/libevent/sample/
H A Ddns-example.c158 const char *resolv_conf; in main() member
180 case 'c': o.resolv_conf = optarg; break; in main()
218 if (o.resolv_conf == NULL && !o.ns) in main()
226 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()
/dports/www/firefox-esr/firefox-91.8.0/ipc/chromium/src/third_party/libevent/sample/
H A Ddns-example.c153 const char *resolv_conf; in main() member
175 case 'c': o.resolv_conf = optarg; break; in main()
213 if (o.resolv_conf == NULL && !o.ns) in main()
221 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()
/dports/lang/spidermonkey78/firefox-78.9.0/ipc/chromium/src/third_party/libevent/sample/
H A Ddns-example.c153 const char *resolv_conf; in main() member
175 case 'c': o.resolv_conf = optarg; break; in main()
213 if (o.resolv_conf == NULL && !o.ns) in main()
221 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()
/dports/www/firefox/firefox-99.0/ipc/chromium/src/third_party/libevent/sample/
H A Ddns-example.c153 const char *resolv_conf; in main() member
175 case 'c': o.resolv_conf = optarg; break; in main()
213 if (o.resolv_conf == NULL && !o.ns) in main()
221 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()
/dports/mail/thunderbird/thunderbird-91.8.0/ipc/chromium/src/third_party/libevent/sample/
H A Ddns-example.c153 const char *resolv_conf; in main() member
175 case 'c': o.resolv_conf = optarg; break; in main()
213 if (o.resolv_conf == NULL && !o.ns) in main()
221 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()
/dports/lang/spidermonkey60/firefox-60.9.0/ipc/chromium/src/third_party/libevent/sample/
H A Ddns-example.c153 const char *resolv_conf; in main() member
175 case 'c': o.resolv_conf = optarg; break; in main()
213 if (o.resolv_conf == NULL && !o.ns) in main()
221 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/monkey/mk_core/deps/libevent/sample/
H A Ddns-example.c153 const char *resolv_conf; in main() member
175 case 'c': o.resolv_conf = optarg; break; in main()
213 if (o.resolv_conf == NULL && !o.ns) in main()
221 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()

1234