Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
'That VDSL Cat'
10210 posts

Uber Geek
+1 received by user: 2454

Trusted
Spark
Subscriber

  # 1715140 3-Feb-2017 20:26
Send private message

For my home network, i have it all linked to one of my domains; baird.io 

 

 

 

Home Lan : all devices are resolved as <computername>.home.baird.io

 

HAB Lan : all devices are resolved as <computername>.hab.baird.io

 

Guest Lan : all devices are resolved as <computername>.guest.home.baird.io

 

 

 

by default pfsense handles this reasonably well, i have since started having dhcp allocate the dns names on the DNS server as it can sometimes be inconsistant in resolving otherwise.

 

Different subnets are handed out their own search domains for all of this

 

 

 

Makes for very clean reasoltion within the network:

 

C:\Users\halo7>ping autobot

 

Pinging autobot.home.baird.io [10.3.57.125] with 32 bytes of data:
Reply from 10.3.57.125: bytes=32 time<1ms TTL=64
Reply from 10.3.57.125: bytes=32 time<1ms TTL=64
Reply from 10.3.57.125: bytes=32 time<1ms TTL=64
Reply from 10.3.57.125: bytes=32 time<1ms TTL=64

 

ontop of this i do own a ssl cert for my pfsense box, simply because why not... 

 

 

 

 

 

I do have a few manual entries into the dns to make it look much cleaner such as VPN hop points.

 

The one bit that i am yet to perfect is effective naming without affecting anything on the nat side of things for balancing.





#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.


Mr Snotty
8608 posts

Uber Geek
+1 received by user: 4503

Moderator
Trusted
Lifetime subscriber

  # 1715188 3-Feb-2017 22:30
Send private message

davidcole:
So the USG doesn't seem to be like most of the other routers I've used with regards dnsmasq etc.  If I want static Ips (and resolvable names) I need to make this config.gateway.json file?
What ties the MAC address to an IP, since the option they talk about is hostname,ip?

 

With the USG yes only because the controller will just overwrite its configuration. The USG will read anything in /etc/dnsmasq.d/ so you could always create "home.conf" for example under that folder and reload dnsmasq on the router but you'll want to script it (store scripts under /config/scripts/) because it'll be wiped with each firmware update. Otherwise just run a separate DNS server and set DNS forwarding on the USG to point to it. On my network like I said I've got a Pi doing it with the Edgerouter doing DNS forwarding - each of my hosts are configured with the primary DNS of 192.168.2.4 and secondary of 192.168.2.1 so if the Pi went down for any reason I could just ask my router to be the DNS server.

 

A little more geeky than doing it just via the router (like you asked!).





 
 
 
 




4386 posts

Uber Geek
+1 received by user: 669

Trusted

  # 1715639 5-Feb-2017 09:32
Send private message

michaelmurfy:

davidcole:
So the USG doesn't seem to be like most of the other routers I've used with regards dnsmasq etc.  If I want static Ips (and resolvable names) I need to make this config.gateway.json file?
What ties the MAC address to an IP, since the option they talk about is hostname,ip?


With the USG yes only because the controller will just overwrite its configuration. The USG will read anything in /etc/dnsmasq.d/ so you could always create "home.conf" for example under that folder and reload dnsmasq on the router but you'll want to script it (store scripts under /config/scripts/) because it'll be wiped with each firmware update. Otherwise just run a separate DNS server and set DNS forwarding on the USG to point to it. On my network like I said I've got a Pi doing it with the Edgerouter doing DNS forwarding - each of my hosts are configured with the primary DNS of 192.168.2.4 and secondary of 192.168.2.1 so if the Pi went down for any reason I could just ask my router to be the DNS server.


A little more geeky than doing it just via the router (like you asked!).



So I'd rather not do the latter, as that would require another device running.

So I'm happy with the concept of the config.gareway.json. Now in terms of adapting a USG into an existing network I see they have a post on this for getting the USG to the correct lan ip if not 192.168.1.0, before adopting.

But what could I do for making it not screw up my local lan config while it get the forma of the config file for setting all my machines to their current ip ranges.

Could I run and isolated controller, or use the iOS app, ssh config? I have about 15 devices I want to set up with names, and get to the pick up via ip their current up adddreses.




Previously known as psycik

OpenHAB: Gigabyte AMD A8 BrixOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Xiaomi Humidity and Temperature sensors and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 10
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Video game market in New Zealand passes half billion dollar mark
Posted 24-May-2019 16:15


WLG-X festival to celebrate creativity and innovation
Posted 22-May-2019 17:53


HPE to acquire supercomputing leader Cray
Posted 20-May-2019 11:07


Techweek starting around NZ today
Posted 20-May-2019 09:52


Porirua City Council first to adopt new council software solution Datascape
Posted 15-May-2019 12:00


New survey provides insight into schools' technology challenges and plans
Posted 15-May-2019 09:30


Apple Music now available on Alexa devices in Australia and New Zealand
Posted 15-May-2019 09:11


Make a stand against cyberbullying this Pink Shirt Day
Posted 14-May-2019 20:23


Samsung first TV manufacturer to launch the Apple TV App and Airplay 2
Posted 14-May-2019 20:11


Vodafone New Zealand sold
Posted 14-May-2019 07:25


Kordia boosts cloud performance with locally-hosted Microsoft Azure ExpressRoute
Posted 8-May-2019 10:25


Microsoft Azure ExpressRoute in New Zealand opens up faster, more secure internet for Kiwi businesses
Posted 8-May-2019 09:39


Vocus Communications to deliver Microsoft Azure Cloud Solutions through Azure ExpressRoute
Posted 8-May-2019 09:25


Independent NZ feature film #statusPending to premiere during WLG-X
Posted 6-May-2019 22:13


The ultimate dog photoshoot with Nokia 9 PureView #ForgottenDogsofInstagram
Posted 6-May-2019 09:41



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.