blob: f3cab32d8e88320a2baf4bc4dfcba3f3209107fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* ISC license. */
#include <skalibs/random.h>
#include <s6-dns/s6dns-rci.h>
#include <s6-dns/s6dns.h>
int s6dns_init (void)
{
if (!random_init()) return 0 ;
if (!s6dns_rci_init(&s6dns_rci_here, "/etc/resolv.conf")) return 0 ;
return 1 ;
}
|