]> Zhao Yanbai Git Server - minix.git/commitdiff
add /etc/resolv.conf pointing to minix nonamed
authorBen Gras <ben@minix3.org>
Tue, 26 Jul 2011 15:59:57 +0000 (17:59 +0200)
committerBen Gras <ben@minix3.org>
Tue, 26 Jul 2011 16:03:04 +0000 (18:03 +0200)
. needed for netbsd libc dns resolution
. points to minix nonamed
. /etc/resolv.conf should have the real info
  (written by netconf / dhcp client)
. nonamed should be phased out but will probably
  be around for the 'old' libc

etc/Makefile
etc/resolv.conf [new file with mode: 0644]

index 4404daaec9f65ec00cf1ae5c595a7a5f8c89377b..81b08014957e37ff160f8513f8d8478f3ae4eb68 100644 (file)
@@ -4,7 +4,7 @@ USRETC=/usr/etc/
 FILES1=fstab group hostname.file inet.conf motd.install mtab passwd profile \
        protocols rc services termcap ttytab utmp rc.cd binary_sizes \
        binary_sizes.big binary_sizes.xxl syslog.conf rc.daemons.dist \
-       rs.inet rs.single make.conf system.conf ttys
+       rs.inet rs.single make.conf system.conf ttys resolv.conf
 
 FILES2=shadow
 FILES3=daily dhcptags.conf rc 
diff --git a/etc/resolv.conf b/etc/resolv.conf
new file mode 100644 (file)
index 0000000..bcc6e44
--- /dev/null
@@ -0,0 +1,2 @@
+# Use Minix nonamed for now
+nameserver 127.0.0.1