Posts

Showing posts from February, 2018

Python Flask: Web apps in seconds

Flask is a python microframework that makes creating web apps easy. It reminds me a lot of AngularJS, but I find it easier to set up and use. Their site is a great live demo  http://flask.pocoo.org/. Create a frontend using this, deploy with docker, app engine, beanstalk, etc... and you have a scalable app that can be used anywhere. Excerpt from their site: Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It's  BSD licensed ! Latest Version:  0.12.2 Flask  is Fun from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" And Easy to Setup $ pip install Flask $ FLASK_APP=hello.py flask run * Running on http://localhost:5000/

pfSense DHCP: Dynamic DNS Updates to a Windows DNS server over a Site-to-Site VPN.

Image
Scenario: Remote site running on pfSense SG-1000 (or other appliance) isn't updating DNS with hosts obtained via pfSense DHCP. Site1 : AD/DNS/DHCP pfSense firewall Site to Site VPN connection to site2 Site2: pfSense firewall appliance running DHCP Site to Site VPN connection to site1 Prerequisites: DHCP: Credentials for DNS Forward and reverse lookup zones Allow DNS secure/non-secure updates DHCP > IPV4/6 > Properties DNS > domain > properties Solution: On the pfSense box in Site2, enable DNS Dynamic Updates. Services > DHCP Server > Dynamic DNS > Advanced Options Resources : DHCP: Credentials for DNS update should be configured if secure dynamic DNS update is enabled and the domain controller is on the same host as the DHCP server