Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error in log Record not found #1

Open
awestwell opened this issue Mar 23, 2022 · 0 comments
Open

Getting error in log Record not found #1

awestwell opened this issue Mar 23, 2022 · 0 comments

Comments

@awestwell
Copy link

awestwell commented Mar 23, 2022

Good Day

  1. Install using docker-compose
    ddns:
        container_name: ddns
        image: raptorbox/ddns-amd64
        restart: always
        ports:
            - 5303:5303
            - 5303:5303/udp
            - 50053:50053
        environment:
            - PUID=${DOCKER_PUID}
            - PGID=${DOCKER_PGID}
            - TZ=${DOCKER_TZ}
        networks:
           shared-vlan:
               ipv4_address: 10.22.200.14
        volumes:
            - ${DOCKER_CONTAINERS}/ddns/data:/data

  1. Execute curl command to add a record
curl -X POST http://10.22.200.14:5551/v1/record   -H 'content-type: application/json'     -d '{
"ip": "10.22.22.22",
"domain": "foobar.local.lan",
"type": "A",
"expires": 1498454965
}'

JSON Response:
{"ip":"10.22.22.22","domain":"foobar.local.lan","type":"A","expires":1498454965}

  1. Executing nslookup command
nslookup foobar.local.lan 10.22.200.14 -port=10053
Server:		10.22.200.14
Address:	10.22.200.14#10053

** server can't find foobar.local.lan: NXDOMAIN

In docker logs for the container I see the following
time="2022-03-23T00:52:54Z" level=info msg="Record not found, key: lan.local.foobar_1"

I would expect the query to return correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant