1
*** maradns-1.2.12.03/MaraDns.h Mon Jul 17 23:50:44 2006
2
--- maradns-1.2.12.04/MaraDns.h Thu Nov 23 10:03:00 2006
6
systems where I do not have root. */
9
+ /* The port to use when contacting remove DNS servers; it may be desirable
10
+ * to have two instances of MaraDNS on the same IP when resolving the
11
+ * dangling CNAME issue on a machine with only one loopback IP (You would
12
+ * think, with an entire Class A of the IP space reserved for loopback,
13
+ * more systems would have at least two loopback IPs. You would be wrong)
15
+ #define UPSTREAM_PORT 53
17
/* Whether we allow MaraDNS to run as a non root user; this is usually
18
* disabled, but can be enabled by uncommenting the following line */
19
/* #define ALLOW_NON_ROOT */
20
*** maradns-1.2.12.04/server/recursive.c.orig Thu Nov 23 10:00:28 2006
21
--- maradns-1.2.12.04/server/recursive.c Thu Nov 23 10:03:25 2006
24
/* Create a server socket address to use with sendto() */
25
memset(&server,0,sizeof(server));
26
server.sin_family = AF_INET;
27
! server.sin_port = htons(53);
28
if((server.sin_addr.s_addr = htonl(remote_ip)) == INADDR_NONE) {
32
/* Create a server socket address to use with sendto() */
33
memset(&server,0,sizeof(server));
34
server.sin_family = AF_INET;
35
! server.sin_port = htons(UPSTREAM_PORT);
36
if((server.sin_addr.s_addr = htonl(remote_ip)) == INADDR_NONE) {