Skip to content

Tag: dns

Curl returned ststus 6 (DNS name bad address error)

I am unable to resolve host names when one(3g-cell) of my two interfaces is turned on. One interface is WAN(Ethernet), while the other is 3g-Cell. When WAN is turned off, I tried to do manual curl request and I was able to do it using 3g-cell interface, but was unable to do that using hostname. (same happened…

Analyze log file of dnsmasq

I current facing a problem. When I open the dnsmasq log, it looks like this: It’s very difficult for us to analyze it. Anybody have a idea to only show the queried domain which should be like this? However I tried this: http://www.tannerwilliamson.com/analyzing-dnsmasq-log-with-awk/1610/ and its output …

Very simple DNS server

I have a linux server has an ad-hoc wireless network for clients to connect to. Once connected I want users to always be redirected to it’s own web server no matter what URL they type in. The large solution would be to set up a full DNS server (with BIND or equivalent) but that seems like overkill. All …