xddxdd / bird-lg-go

BIRD looking glass in Go, for better maintainability, easier deployment & smaller memory footprint
GNU General Public License v3.0
140 stars 27 forks source link

bgpmap options not applied #72

Closed famfo closed 1 year ago

famfo commented 1 year ago

When running the frontend on one of our servers (running Alpine Linux), the bgpmap options are not being applied (see right screenshot or the lg directly). Running the same binary (compiled for musl) locally, the options get applied (left screenshot). image

xddxdd commented 1 year ago

From the output, the bgpmapInfo option is applied correctly.

It appears that you have set dnsInterface incorrectly. It should point to a service that returns AS information as a TXT record, such as asn.cymru.com; try dig TXT AS1.asn.cymru.com. Your specific DNS query seem to return an unrelated TXT record that interferes with the AS lookup process.

You can set dnsInterface to an empty string to disable the DNS lookup.

famfo commented 1 year ago

Setting the dnsInterface to an empty string worked. Don't know why it happened, set the same DNS server both times.