Discussion  - 
 
What does "Reconstructed hostname is not the same as the posted hostname" mean?

I have used this method to update with my credentials:
curl --data-urlencode hostname=tyrion.hn.org \
     --data-urlencode password=OpenSesame \
     --data-urlencode ipv4=192.168.1.10 \
     https://tyrionzqj32v3.hn.org/update.php
1
Krissy Smith's profile photoAlin Golumbeanu's profile photoGreg Keefe's profile photo
11 comments
 
Can you show me exactly what you typed in, without your password?
 
This is the full response:

<!doctype html>
<html>
<head>
 <title>Dynamic DNS Update</title>
</head>
<body>

<h1>Dynamic DNS Update Information:</h1>
Below is a line that <strong>begins</strong> with UPDATE_RESPONSE_CODE= which can be used by an automatic updating program.  See the <a href='http://www.hn.org/hnRFC10.txt'>API documentation</a> for more information.

<pre>
UPDATE_RESPONSE_CODE=202
</pre>

<br>
<p>Response code: 202</p>
<p>Error message: <span style='color: red'> Reconstructed hostname is not the same as the posted hostname. </span></p>
<p>IPv4 address:  </p>

<hr>


</body>
</html>
 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /update.phpcurl was not found on this server.</p>
</body></html>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /update.php was not found on this server.</p>
</body></html>
 
Now it works. But I tried it with the second one and it gave that error. With the first one I got the first error.
 
It is not intuitive to replace the Host address to which the update requests are sent with the hostname from the user.
 
I agree that it is not intuitive.  It was made that way to lessen the impact of any broken dynamic dns client programs.
Add a comment...