From 6fc460ded654082b24ea2ac346ca1b339b7259cb Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sun, 12 Nov 2006 22:43:03 +0000 Subject: [PATCH] server port warning message --- src/iodined.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/iodined.c b/src/iodined.c index b7bee46..941c81c 100644 --- a/src/iodined.c +++ b/src/iodined.c @@ -258,6 +258,10 @@ main(int argc, char **argv) break; case 'p': port = atoi(optarg); + if (port) { + printf("ALERT! Other dns servers expect you to run on port 53.\n"); + printf("You must manually forward port 53 to port %d for things to work.\n", port); + } break; default: usage();