Giter VIP home page Giter VIP logo

udm-host-records's People

Contributors

a10kiloham avatar evaneaston avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

udm-host-records's Issues

Make changes stick?

These scripts work great but changes do not stick. Even without a reboot sometime( maybe an hour or hours later) the UDM Pro revmoes all these entries back to default. I can verify the changes work before this happens since I'm using NextDNS and seeing these new host entries take effect.

Anyway to make these settings stick?

Broken on UniFi OS UDM Pro 1.11.4 with controller 7.1.61

Not working after controller update to 7.1.61.

./add-host-record.sh srv-01.local 172.16.20.11
host=srv-01.local
ip=172.16.20.11
ipVersion=v4
regNonQual=true
jq: parse error: Invalid numeric literal at line 1, column 8
Request failed: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal

Add host failing on 1.9.0 - IPVersion not set

Thanks for sharing these. It worked great until today when I upgraded to 1.9.0. Seems that the IP Version must be set for ipv4?

{ "detail": "", "error": 1, "message": ".dnsForwarder.hostRecords.address.version: IPVersion not set", "statusCode": 400 }

Records lost when turning Internet Threat Management on or off

When I turn the UDMP Internet Threat Management on or off (UDM-Pro 1.9.0.3413), the host records reset back to defaults.

Doubt you can do anything about this, but would be good to include in the README.md? And maybe verify if the same happens to you?

configuration not solved

evaneaston sorry to bother but I'm confused on your scripts.
I've added a line like this:

./add-host-record.sh c240dn.savazzi.eu 192.168.1.15
./add-host-record.sh c240dn 192.168.1.15

but on the pc when I run the nslookup I get conflicting results:

C:\Users\massi>nslookup
Default Server:  UnKnown
Address:  192.168.1.1


> c240dn
Server:  UnKnown
Address:  192.168.1.1


*** UnKnown can't find c240dn: Non-existent domain
> c240dn.savazzi.eu
Server:  UnKnown
Address:  192.168.1.1


Name:    c240dn.savazzi.eu
Address:  192.168.1.15


>

how is it possible? what am I doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.