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

Does not work (or I don't understand how to use it) #7

Open
ghost opened this issue Jun 27, 2021 · 1 comment
Open

Does not work (or I don't understand how to use it) #7

ghost opened this issue Jun 27, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 27, 2021

I have the following config:

// Corefile
spiral.sh {
	file zones/spiral.sh
	alias
}
; zone
http-pool.spiral.sh. 3000 IN A 128.116.205.8
http-pool.spiral.sh. 3000 IN A 45.61.184.138
spiral.sh. 3000 IN CNAME http-pool.spiral.sh.

dig output:

;; ANSWER SECTION:
spiral.sh.		3000	IN	CNAME	http-pool.spiral.sh.
http-pool.spiral.sh.	3000	IN	A	128.116.205.8
http-pool.spiral.sh.	3000	IN	A	45.61.184.138

What am I doing wrong? I would like to show just the A records and not the CNAME, as shown in the example on the README.

@serverwentdown
Copy link
Owner

Additionally, include this block (or equivalent) in your Corefile:

# This is used to resolve CNAME records by the `file` plugin. Modify accordingly
. {
	forward . 1.1.1.1 1.0.0.1
}

If you already have included it, then it is likely a bug with this plugin. I'll check it out soon.

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