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 
Affiliate link
 
 
 

Affiliate link: Trend Micro provides enhanced protection against viruses, malware, ransomware and spyware and more for your connected devices.
hio77
'That VDSL Cat'
12970 posts

Uber Geek

ID Verified
Trusted
Voyager
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.

 

 


michaelmurfy
/dev/ttys0
10969 posts

Uber Geek

Moderator
ID Verified
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!).





Michael Murphy | https://murfy.nz | https://keybase.io/michaelmurfy - Referral Links: Sharesies | Electric Kiwi
Are you happy with what you get from Geekzone? Please consider supporting us by making a donation.


davidcole

5517 posts

Uber Geek

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
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Windows 10
Host Plex Server 3x3TB, 4x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 2xUbuntu 20.04 LTS, Backblaze Backups, 


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





News and reviews »

New Zealand Video Game Sales Reaches $540 Million
Posted 26-Jun-2022 14:49


Github Copilot Generally Available to All Developers
Posted 26-Jun-2022 14:37


Logitech G Introduces the New Astro A10 Headset
Posted 26-Jun-2022 14:20


Fitbit introduces Sleep Profiles
Posted 26-Jun-2022 14:11


Synology Introduces FlashStation FS3410
Posted 26-Jun-2022 14:04


Intel Arc A380 Graphics First Available in China
Posted 15-Jun-2022 17:08


JBL Introduces PartyBox Encore Essential Speaker
Posted 15-Jun-2022 17:05


New TVNZ+ streaming brand launches
Posted 13-Jun-2022 08:35


Chromecast With Google TV Review
Posted 10-Jun-2022 17:10


Xbox Gaming on Your Samsung Smart TV No Console Required
Posted 10-Jun-2022 00:01


Xbox Cloud Gaming Now Available in New Zealand
Posted 10-Jun-2022 00:01


HP Envy Inspire 7900e Review
Posted 9-Jun-2022 20:31


Philips Hue Starter Kit Review
Posted 4-Jun-2022 11:10


Sony Expands Its Wireless Speaker X-series Range
Posted 4-Jun-2022 10:25


Microsoft Updates Surface Laptop Go With 11th Gen Intel CPUs
Posted 2-Jun-2022 07:12









Geekzone Live »

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



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.