Solved Change port number of bind from 53 to 3000

November 4, 2011 at 23:52:30
Specs: Linux i686
Hi,

I have changed port number of bind from 53 to 3000. It is listening to this port now. Please verify it from the snippet below:
===============
[root@21290 etc]# netstat -plan |grep :3000
tcp 0 0 127.0.0.1:3000 0.0.0.0:* LISTEN 1292/named
tcp 0 0 ::1:3000 :::* LISTEN 1292/named
udp 0 0 0.0.0.0:3000 0.0.0.0:* 1292/named
udp 0 0 127.0.0.1:3000 0.0.0.0:* 1292/named
===============

But I am not getting the dig result now. I would like to resolve my domain from my localhost. My domain is not registered. I am using a test node to practice. What shall I do to get the result for
====
dig domain @localhost.
====

Please help asap.


Regards,
Mona


See More: Change port number of bind from 53 to 3000

Report •


#1
November 5, 2011 at 00:13:23
✔ Best Answer
I can't imagine why you would want to change the port number of a DNS server, as it will make life very difficult. But I guess you know best.

Use the -p switch with dig to specify a different port. You may also like to check out the "man" command which answers this sort of query.


Report •

#2
November 5, 2011 at 00:38:01
Hi ijack,

Thanks a lot. Now I got the dig result. I just needed the answer section to be displayed correctly. It was so simple. Yes, of-course I know that changing port number of DNS server will make life difficult. Still I just wanted to know what actually happens in doing that and what all issues we can face .

Thanks a lot..!!
Regards,
Mona


Report •

#3
November 5, 2011 at 00:57:11
Hi,

I have one more doubt regarding the MTA qmail. I know till now that I have to add all the domains hosted under my server in /var/qmail/control/virtualdomains. I would like to know that I may have 200 domains or more . Should I populate this file with all the domains?

Is there any alternate way ? Also to stop relaying do I have any alternate way other than populating the /var/qmail/control/rcpthosts with all the domains?

Regards,
Monalisa


Report •
Related Solutions


Ask Question