<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><span style="-webkit-text-size-adjust: auto;">Hi guys (gender neutral version)</span><div style="-webkit-text-size-adjust: auto;"><br></div><div style="-webkit-text-size-adjust: auto;">I have a query, and hoped one of you could help me out.</div><div style="-webkit-text-size-adjust: auto;"><br></div><div style="-webkit-text-size-adjust: auto;">Short version:</div><div style="-webkit-text-size-adjust: auto;">How to install a local DNS server on a raspberry pi for use at home, dhcp would be nice too but not essential.  How to route a dns enquiry to a local server.</div><div style="-webkit-text-size-adjust: auto;"><br></div><div style="-webkit-text-size-adjust: auto;">Long version:</div><div style="-webkit-text-size-adjust: auto;">I bought a weather station (£39 reduced from £199) made by oregon scientific.  Have read the reviews and it seems to boil down to this:  the hardware is okay, gets the job done etc, but it has no local output, it ONLY connects to oregon's servers, then the user can view the data with an phone app, or online in a webbrowser.  The problem, oregons servers are CRAP, and thats as polite as i can be about them.  They go down for WEEKS at a time, during which the user cannot obtain any info from their own weather station, and it is not cached locally waiting for a connection either the data is just GONE.  There is just no weather during these outages.</div><div style="-webkit-text-size-adjust: auto;"><br></div><div style="-webkit-text-size-adjust: auto;">the plan:</div><div style="-webkit-text-size-adjust: auto;">Install raspberry pi with dns server.  Point dns requests for the oregon server back to the pi.  Install a LAMP config on the pi.  Use wireshark to work out whats going back and forward, write a php script on the pi to grab the data locally, and if i can be bothered forward it to oregon.</div><div style="-webkit-text-size-adjust: auto;">Store the data locally, uploading to my real online server in 10minute batches, including any cached data stored while waiting for connectivity.  </div><div style="-webkit-text-size-adjust: auto;"><br></div><div style="-webkit-text-size-adjust: auto;">Profit.</div><div style="-webkit-text-size-adjust: auto;"><br></div><div style="-webkit-text-size-adjust: auto;">Am i going about this all wrong?  I have seen people binning these weather stations because they are so unreliable at connecting with oregons servers, but i havnt seen this attempted yet with it.  Plus whats not to like about having a local dns server that i can reroute.</div><div style="-webkit-text-size-adjust: auto;"><br></div><div style="-webkit-text-size-adjust: auto;">Thanks</div><div style="-webkit-text-size-adjust: auto;"><br></div><div style="-webkit-text-size-adjust: auto;">G</div><div><div><div class="th _lyb _YQd" style="border: 0px solid rgb(238, 238, 238); float: left; overflow: hidden; margin-top: 4px; position: relative; height: 65px; width: 116px;"><font color="#000000" style="cursor: pointer; text-decoration: none; background-color: rgba(255, 255, 255, 0);"><a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ" ping="/url?sa=t&source=web&rct=j&ei=RlNIVPiUIKTV7gbn84GICg&url=http://www.youtube.com/watch%3Fv%3DdQw4w9WgXcQ&ved=0CCgQuAIwAQ&usg=AFQjCNG7el8GOsX8SUPmhUksMRzOa9FzwQ" style="cursor: pointer; text-decoration: none; background-color: rgba(255, 255, 255, 0);"><br><br></a><span style="background-color: rgba(255, 255, 255, 0);"><a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ" ping="/url?sa=t&source=web&rct=j&ei=RlNIVPiUIKTV7gbn84GICg&url=http://www.youtube.com/watch%3Fv%3DdQw4w9WgXcQ&ved=0CCgQuAIwAQ&usg=AFQjCNG7el8GOsX8SUPmhUksMRzOa9FzwQ">www.youtube.com/watch?v=dQw4w9WgXcQ</a></span></font></div></div></div><div><div class="th _lyb _YQd" style="border: 0px solid rgb(238, 238, 238); float: left; overflow: hidden; margin-top: 4px; position: relative; height: 65px; width: 116px;"><font color="#000000" style="cursor: pointer; text-decoration: none; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ" ping="/url?sa=t&source=web&rct=j&ei=RlNIVPiUIKTV7gbn84GICg&url=http://www.youtube.com/watch%3Fv%3DdQw4w9WgXcQ&ved=0CCgQuAIwAQ&usg=AFQjCNG7el8GOsX8SUPmhUksMRzOa9FzwQ" style="cursor: pointer; text-decoration: none; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br><span class="vdur _dwc _zgd" aria-hidden="true" style="cursor: pointer; text-decoration: none; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0); text-align: start; bottom: 0px; font-weight: bold; padding: 1px 3px; position: absolute; right: 0px; opacity: 0.7;">► 3:33</span><span class="vdur _dwc _Agd" style="cursor: pointer; text-decoration: none; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0); text-align: start; bottom: 0px; font-weight: bold; padding: 1px 3px; position: absolute; right: 0px;">► 3:33</span></a></font><span style="-webkit-text-size-adjust: auto;">Best Regard</span></div></div></body></html>