<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi both,<div><br></div><div>I use tinydns <a href="https://www.google.co.uk/?gfe_rd=cr&ei=sjtIVPXLDcSq8wedyoLoDw&gws_rd=ssl#q=tinydns">https://www.google.co.uk/?gfe_rd=cr&ei=sjtIVPXLDcSq8wedyoLoDw&gws_rd=ssl#q=tinydns</a></div><div><br></div><div>Really flexible, configurable and lightweight.</div><div><br></div><div>— Paul</div><div><br><div><div>On 23 Oct 2014, at 03:34, Jon Gittoes <<a href="mailto:jon@gittoes.org">jon@gittoes.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr">Hi Graham,</p><p dir="ltr">Sounds fairly straight forward.</p><p dir="ltr">I suggest dnsmasq, its small, light and will allow you to put in your own entries for certain servers ie the Oregon ones.</p><p dir="ltr">If you need more control over the DNS then powerdns is a better option as it allows you to plugin your own custom back ends, but its probably overkill for your project.</p><p dir="ltr">Good luck</p><p dir="ltr">Jon<br></p>
<div class="gmail_quote">On 23 Oct 2014 02:05, "Graham Owens" <<a href="mailto:grahamowensuk@googlemail.com">grahamowensuk@googlemail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span>Hi guys (gender neutral version)</span><div><br></div><div>I have a query, and hoped one of you could help me out.</div><div><br></div><div>Short version:</div><div>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><br></div><div>Long version:</div><div>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><br></div><div>the plan:</div><div>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>Store the data locally, uploading to my real online server in 10minute batches, including any cached data stored while waiting for connectivity.  </div><div><br></div><div>Profit.</div><div><br></div><div>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><br></div><div>Thanks</div><div><br></div><div>G</div><div><div><div style="border:0px solid rgb(238,238,238);float:left;overflow:hidden;margin-top:4px;min-height:65px;width:116px"><font style="text-decoration:none;background-color:rgba(255,255,255,0)"><a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ" style="text-decoration:none;background-color:rgba(255,255,255,0)" target="_blank"><br><br></a><span style="background-color:rgba(255,255,255,0)"><a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank">www.youtube.com/watch?v=dQw4w9WgXcQ</a></span></font></div></div></div><div><div style="border:0px solid rgb(238,238,238);float:left;overflow:hidden;margin-top:4px;min-height:65px;width:116px"><font style="text-decoration:none;background-color:rgba(255,255,255,0)"><a href="http://www.youtube.com/watch?v=dQw4w9WgXcQ" style="text-decoration:none;background-color:rgba(255,255,255,0)" target="_blank"><br><span style="text-decoration:none;background-color:rgba(255,255,255,0);text-align:start;font-weight:bold;padding:1px 3px">► 3:33</span><span style="text-decoration:none;background-color:rgba(255,255,255,0);text-align:start;font-weight:bold;padding:1px 3px">► 3:33</span></a></font><span>Best Regard</span></div></div></div><br>_______________________________________________<br>
Hackspace mailing list<br>
<a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>
<a href="http://swansea.hackspace.org.uk/mailman/listinfo/hackspace" target="_blank">http://swansea.hackspace.org.uk/mailman/listinfo/hackspace</a><br>
<br></blockquote></div>
_______________________________________________<br>Hackspace mailing list<br><a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>http://swansea.hackspace.org.uk/mailman/listinfo/hackspace<br></blockquote></div><br></div></body></html>