Hm, I had this same problem. I was able to get the server to run by
making the following changes to data/test.zone (although the
initialization still complains about unknown services in other lines):
on line 55, s/udp/17/
Then, rerun `mirage configure --unix` and `make`. After doing that and
starting the server, I'm able to get a response from `dig @127.0.0.1
ns0.d1.signpo.st.` (127.0.0.1 because I'm running in socket mode).
Cheers,
Mindy
On 05/11/2015 11:06 AM, Nick Betteridge wrote:
Hello
I'm trying to get the simple dns server to work that Heidi has in her
examples (github.com/heidi-ann/ocaml-dns-examples) and I'm getting an
error which I don't really understand - it's occurs both on the
cubieboard and my amd64 desktop:
[amd64]
$ sudo ./mir-dns
Manager: connect
plugging into tap0 with mac c2:9d:56:19:d7:2c..
Netif: connect tap0
Manager: connect
Manager: configuring
Manager: configuring
Netif: error, terminating listen loop
Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.254]
Manager: socket config currently ignored (TODO)
ARP: sending gratuitous from 192.168.1.2
Manager: configuration done
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Netif: error, terminating listen loop
[cubieboard2]
$ sudo ./mir-dns
plugging into tap0 with mac c2:9d:56:19:d7:2c..
Netif: connect tap0
Manager: connect
Manager: connect
Manager: configuring
Manager: Interface to 192.168.1.2 nm 255.255.255.0 gw [192.168.1.1]
ARP: sending gratuitous from 192.168.1.2
Manager: configuration done
Manager: configuring
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Manager: socket config currently ignored (TODO)
Warning (<string> line 47): Converting MD to MX
Warning (<string> line 48): Converting MF to MX
Error (<string> line 54): udp is not a known IP protocol
Error (<string> line 56): unknown service "chargen" for protocol 6
Does anyone have any idea how I can move forward on this?
Thanks
Nick
_______________________________________________
MirageOS-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
_______________________________________________
MirageOS-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel