Use dnsmasq as a DNS server for external requests

0

Most of the articles on the internet are focused on spoofing DNS requests using dnsmasq for an internal network.

Is there a way to setup a VPS with dnsmasq running so that I can use it externally?

For example I set my computers/smartphones to use my VPS as DNS server instead of 8.8.8.8?

Sanidhay

Posted 2018-04-08T09:02:48.063

Reputation: 1

This question has nothing to do with DNS spoofing and nothing to do with security, i.e. it is off-topic. It simply asks how to install dnsmasq on some VPS to use it from your own systems. While this is doable, dnsmasq is not a standalone DNS resolver, i.e. it needs some upstream recursive resolver (like 8.8.8.8) for any domains which are not explicitly configured in dnsmasq. – Steffen Ullrich – 2018-04-08T10:38:46.627

@SteffenUllrich there are not a lot of articles on the internet which explains installing dnsmasq on a VPS to use it from your own systems. Hence the question. How is it doable? Yes I know it needs a recursive resolver. It is related to Information Security as a lot of malware change victim DNS. In order to understand how it can be mitigated it is necessary to understand how it works. – Sanidhay – 2018-04-08T10:46:46.383

1With this kind of arguments even teaching you how to switch on your computer would be on-topic since in order to configure it securely you would need to switch it on in the first place. – Steffen Ullrich – 2018-04-08T10:52:44.457

1

Probably a better question for Server Fault, or maybe Unix Stack Exchange? A better question for this forum would be "Is it safe to expose a DNSMASQ service to the public internet?" I don't have a good answer for that one, but be aware that DNS can be leveraged for reflection-based DDoS attacks. So if you expose a public DNS service you may become part of someone else's problem.

– None – 2018-04-08T15:30:31.693

No answers