Help - Search - Members - Calendar
Full Version: 502 Proxy Error / Dns Lookup Failure
Zymic Webmaster Forums > General Discussion > I Exist!
Simón Medrano
Hello, everybody.
I'm sorry if I'm posting again about something already reported/covered, but I didn't find the specific answer I was looking for.
Everybody and everyone who had a similar problem were only talking about database hostname and/or some PHP functions not being called correctly, but that's not my case.

I have a free web hosting account and a very simple (HTML, no serverside scripting at all) test page on the following subdomain: webmidget.vndv.com. When I access my site using that URL, I can see the page with no problems.

But now... I want to use my own domain name: www.WebMidget.com.ar.
I intend to use the an address like www.webmidget.com.ar to access my website, but I didn't find much information about how to set up my own domain name I have already registered long ago.

I have my domain name delegated to EveryDNS.net, and I'm using their webhops service, and subdomains with Google Apps for Your Domain (GAFYD) for handling e-mail, etc..
Since Zymic do not provide free mail SMTP/POP/IMAP service, (I know this is very expensive), nor dynamic DNS, I do not want to move my domain form EveryDNS.

I added two NS records to my zone, pointing to ns1.vndv.com and ns2.vndv.com a few days ago.
Now, digging into ns1.everydns.net, I've got the following:

CODE
; <<>> DiG 9.3.4 <<>> ANY www.webmidget.com.ar @ns1.everydns.net
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16265
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;www.webmidget.com.ar.        IN    ANY

;; AUTHORITY SECTION:
www.webmidget.com.ar.    3600    IN    NS    ns1.vndv.com.
www.webmidget.com.ar.    3600    IN    NS    ns2.vndv.com.

;; Query time: 27 msec
;; SERVER: 208.76.62.100#53(208.76.62.100)
;; WHEN: Tue Aug 11 05:05:28 2009
;; MSG SIZE  rcvd: 82


The important thing is that ns1.vndv.com and ns2.vndv.com are now authoritative servers for my www subdomain.
And as expected, after a short time, they both are resolving www.webmidget.com.ar:

CODE
; <<>> DiG 9.3.4 <<>> ANY www.webmidget.com.ar @ns1.vndv.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64251
;; flags: qr aa rd; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;www.webmidget.com.ar.        IN    ANY

;; ANSWER SECTION:
www.webmidget.com.ar.    120    IN    MX    25 mail.www.webmidget.com.ar.
www.webmidget.com.ar.    120    IN    A    207.210.86.252
www.webmidget.com.ar.    86400    IN    SOA    ns1.vndv.com. ns2.vndv.com. 1 10800 3600 604800 3600
www.webmidget.com.ar.    86400    IN    NS    ns1.vndv.com.
www.webmidget.com.ar.    86400    IN    NS    ns2.vndv.com.

;; ADDITIONAL SECTION:
mail.www.webmidget.com.ar. 120    IN    A    207.210.86.251

;; Query time: 120 msec
;; SERVER: 207.210.86.251#53(207.210.86.251)
;; WHEN: Tue Aug 11 05:09:19 2009
;; MSG SIZE  rcvd: 195


As seen on the DiG output, the www.webmidget.com.ar hostname is being resolved as 207.210.86.252.

Now, when I put http://www.webmidget.com.ar/ on a web browser, I get the following:

QUOTE
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: DNS lookup failure for: webmidget.com.ar


Why does it try to lookup webmidget.com.ar instead of www.webmidget.com.ar?
Seems like at some point something cut off the www part of my domain!
Or maybe there's something else...

Anyway, I'm trying to add an A record of webmidget.com.ar pointing to 207.210.86.252.
Simón Medrano
Nope.
Now, when using http://webmidget.com.ar/ or http://www.webmidget.com.ar/, the browser is always redirected to http://www.vndv.com/404/.
If I use http://webmidget.vndv.com/, I still can see my website without problems.

Following is the ouput while digging on ns1.everydns.net for www.webmidget.com.ar:

CODE
The digged server is not giving an authoritative answer.
You should get an authoritative answer by digging one of the
authoritative nameservers.

The authoritative nameservers are:
www.webmidget.com.ar.    86146    IN    NS    ns2.vndv.com.
www.webmidget.com.ar.    86146    IN    NS    ns1.vndv.com.


Following is the output while digging on ns1.vndv.com:

CODE
Domain/host:            TTL:           Type:    Record content:
---------------------------------------------------------------

www.webmidget.com.ar.    86400    IN    SOA    ns1.vndv.com. ns2.vndv.com. 1 10800 3600 604800 3600
www.webmidget.com.ar.    86400    IN    NS    ns2.vndv.com.
www.webmidget.com.ar.    120    IN    A    207.210.86.252
www.webmidget.com.ar.    120    IN    MX    25 mail.www.webmidget.com.ar.
www.webmidget.com.ar.    86400    IN    NS    ns1.vndv.com.

The digged server claims it is giving an authoritative answer.


Damn! Why does the A record point to 207.210.86.252?
On the Nameservers and IP Addresses post, it reads:

QUOTE
For A records:
CODE
207.210.86.253


So... is ns1.vndv.com resolving to the wrong IP address?
Webmidget.vndv.com resolves to the proper IP address.

I will try setting the A record to point to the 207.210.86.253 IP address on my EveryDNS zone, and see what comes out.

Can anyone give some advice?
FelipeM
the same happens to me, any solution at the moment?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.