Skip to content

domain=domain cname rule doesn't work #97

Description

@Cuthead

I want to map google.com to gwsdb dynamic address google.com.c.0.8.0.d.0.0.0.0.7.4.0.1.0.0.2.ip6.arpa.

Have tried,

1

[default]
google.com=google.com.c.0.8.0.d.0.0.0.0.7.4.0.1.0.0.2.ip6.arpa

Error:

[default] &{en0 udp://8.8.8.8:53?ecs=6.0.0.0 1064 0 8 0 0   5000 <nil>}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x1046824fd]

goroutine 1 [running]:
github.com/macronut/phantomsocks/phantomtcp.LoadProfile({0x1e6a7851c990, 0xc})
	github.com/macronut/phantomsocks/phantomtcp/phantom.go:626 +0x17dd
main.StartService()
	github.com/macronut/phantomsocks/main.go:154 +0x26a
main.main()
	github.com/macronut/phantomsocks/main.go:333 +0x2df

2

[default]
google.com.c.0.8.0.d.0.0.0.0.7.4.0.1.0.0.2.ip6.arpa
google.com=google.com.c.0.8.0.d.0.0.0.0.7.4.0.1.0.0.2.ip6.arpa
.google.com=[google.com]

Resolved to,

nslookup www.google.com 1 [142.251.152.119 142.251.153.119 142.251.154.119 142.251.150.119 142.251.155.119 142.251.151.119 142.251.156.119 142.251.157.119]

Both don't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions