Skip to content

Commit

Permalink
ehazlett -> stellarproject
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
  • Loading branch information
ehazlett committed Aug 23, 2019
1 parent 3fd1b6b commit b14831e
Show file tree
Hide file tree
Showing 41 changed files with 131 additions and 140 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
COMMIT=$(shell git rev-parse HEAD | head -c 8)$(shell if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi)
REGISTRY?=docker.io
NAMESPACE?=ehazlett
NAMESPACE?=stellarproject
IMAGE_NAMESPACE?=$(NAMESPACE)
APP=atlas
CLI=actl
Expand Down
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,9 @@
The Atlas Nameserver service provides a simple programmable [DNS](https://www.cloudflare.com/learning/dns/what-is-dns/) service.
Atlas uses the same core library that CoreDNS uses ([miekg/dns](https://github.com/miekg/dns)). It contains a GRPC API and a client
that can be used for programmatic control. For an example on using the GRPC API see the [CLI](cmd/actl/). Atlas also has builtin
[metrics](https://github.com/ehazlett/atlas#metrics) that can be enabled for monitoring queries, lookups, etc.
[metrics](https://github.com/stellarproject/atlas#metrics) that can be enabled for monitoring queries, lookups, etc.

[![Go Report Card](https://goreportcard.com/badge/github.com/ehazlett/atlas)](https://goreportcard.com/report/github.com/ehazlett/atlas) [![Docs](https://godoc.org/github.com/ehazlett/atlas?status.svg)](http://godoc.org/github.com/ehazlett/atlas) [![Build Status](https://action-badges.now.sh/JasonEtco/action-badges)](https://github.com/ehazlett/atlas/actions)

# Installation

## Docker
[![Docker Image](https://img.shields.io/badge/ehazlett%2Fatlas%3Alatest-docker%20image-blue)](https://cloud.docker.com/u/ehazlett/repository/docker/ehazlett/atlas)

A [Docker](https://www.docker.com) image is built upon every merge to master. The latest is [ehazlett/atlas:latest](https://cloud.docker.com/u/ehazlett/repository/docker/ehazlett/atlas)

To run with Docker, you will need to map ports (-p) for all ports you want to expose (at least 53/udp and 9000/tcp).
[![Go Report Card](https://goreportcard.com/badge/github.com/stellarproject/atlas)](https://goreportcard.com/report/github.com/stellarproject/atlas) [![Docs](https://godoc.org/github.com/stellarproject/atlas?status.svg)](http://godoc.org/github.com/stellarproject/atlas) [![Build Status](https://action-badges.now.sh/JasonEtco/action-badges)](https://github.com/stellarproject/atlas/actions)

### Examples

Expand All @@ -25,7 +16,7 @@ $> docker run -ti -d \
--name atlas \
-p 53:53/udp \
-p 9000:9000 \
ehazlett/atlas:latest -b udp://0.0.0.0:53
stellarproject/atlas:latest -b udp://0.0.0.0:53
```

Run Atlas using Google DNS for upstream with a 30s cache:
Expand All @@ -34,14 +25,14 @@ $> docker run -ti -d \
--name atlas \
-p 53:53/udp \
-p 9000:9000 \
ehazlett/atlas:latest -b udp://0.0.0.0:53 --upstream-dns 8.8.8.8:53 --cache-ttl 30s
stellarproject/atlas:latest -b udp://0.0.0.0:53 --upstream-dns 8.8.8.8:53 --cache-ttl 30s
```

## Manual

[![Linux Latest Build](https://img.shields.io/badge/linux-latest-green)](https://ehazlett-public.s3.us-east-2.amazonaws.com/atlas/atlas-linux-latest.zip) [![FreeBSD Latest Build](https://img.shields.io/badge/freebsd-latest-green)](https://ehazlett-public.s3.us-east-2.amazonaws.com/atlas/atlas-freebsd-latest.zip) [![Windows Latest Build](https://img.shields.io/badge/windows-latest-green)](https://ehazlett-public.s3.us-east-2.amazonaws.com/atlas/atlas-windows-latest.zip)
[![Linux Latest Build](https://img.shields.io/badge/linux-latest-green)](https://stellarproject-public.s3.us-east-2.amazonaws.com/atlas/atlas-linux-latest.zip) [![FreeBSD Latest Build](https://img.shields.io/badge/freebsd-latest-green)](https://stellarproject-public.s3.us-east-2.amazonaws.com/atlas/atlas-freebsd-latest.zip) [![Windows Latest Build](https://img.shields.io/badge/windows-latest-green)](https://stellarproject-public.s3.us-east-2.amazonaws.com/atlas/atlas-windows-latest.zip)

- Download a release either from the "latest" builds above or from the [Releases](https://github.com/ehazlett/atlas/releases).
- Download a release either from the "latest" builds above or from the [Releases](https://github.com/stellarproject/atlas/releases).
- Extract the release to your `PATH`:
- Linux: `unzip -d /usr/local/bin atlas-linux-latest.zip`
- FreeBSD: `unzip -d /usr/local/bin atlas-freebsd-latest.zip`
Expand All @@ -60,7 +51,7 @@ VERSION:
0.1.0 (c568ab98) linux/amd64
AUTHOR:
@ehazlett
@stellarproject
COMMANDS:
help, h Shows a list of commands or help for one command
Expand Down
2 changes: 1 addition & 1 deletion api/services/nameserver/v1/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand Down
92 changes: 46 additions & 46 deletions api/services/nameserver/v1/nameserver.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/services/nameserver/v1/nameserver.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import weak "gogoproto/gogo.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/any.proto";

option go_package = "github.com/ehazlett/atlas/api/services/nameserver/v1;nameserver";
option go_package = "github.com/stellarproject/atlas/api/services/nameserver/v1;nameserver";

service Nameserver {
rpc Lookup(LookupRequest) returns (LookupResponse);
Expand Down
4 changes: 2 additions & 2 deletions api/types/nameserver.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand Down Expand Up @@ -28,7 +28,7 @@ import (
)

const (
nsOptionURL = "evanhazlett.com/atlas/services/nameserver/types"
nsOptionURL = "stellarproject.io/atlas/services/nameserver/types"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion api/types/option.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand Down
2 changes: 1 addition & 1 deletion atlas.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand Down
6 changes: 3 additions & 3 deletions client/client.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand Down Expand Up @@ -28,9 +28,9 @@ import (
"net/url"
"time"

"github.com/ehazlett/atlas"
api "github.com/ehazlett/atlas/api/services/nameserver/v1"
"github.com/sirupsen/logrus"
"github.com/stellarproject/atlas"
api "github.com/stellarproject/atlas/api/services/nameserver/v1"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
)
Expand Down
4 changes: 2 additions & 2 deletions client/nameserver.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand All @@ -26,7 +26,7 @@ import (
"fmt"
"strings"

api "github.com/ehazlett/atlas/api/services/nameserver/v1"
api "github.com/stellarproject/atlas/api/services/nameserver/v1"
)

// Create is used to create new records
Expand Down
10 changes: 5 additions & 5 deletions cmd/actl/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand All @@ -25,10 +25,10 @@ import (
"fmt"
"os"

"github.com/ehazlett/atlas"
"github.com/ehazlett/atlas/client"
"github.com/ehazlett/atlas/version"
"github.com/sirupsen/logrus"
"github.com/stellarproject/atlas"
"github.com/stellarproject/atlas/client"
"github.com/stellarproject/atlas/version"
"github.com/urfave/cli"
"google.golang.org/grpc"
)
Expand All @@ -37,7 +37,7 @@ func main() {
app := cli.NewApp()
app.Name = "actl"
app.Version = version.BuildVersion()
app.Author = "@ehazlett"
app.Author = "@stellarproject"
app.Email = ""
app.Usage = version.Description
app.Flags = []cli.Flag{
Expand Down
6 changes: 3 additions & 3 deletions cmd/actl/ns.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand Down Expand Up @@ -29,8 +29,8 @@ import (
"text/tabwriter"

"github.com/containerd/typeurl"
api "github.com/ehazlett/atlas/api/services/nameserver/v1"
"github.com/ehazlett/atlas/api/types"
api "github.com/stellarproject/atlas/api/services/nameserver/v1"
"github.com/stellarproject/atlas/api/types"
"github.com/urfave/cli"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/atlas/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2019 Evan Hazlett <ejhazlett@gmail.com>
Copyright 2019 Stellar Project
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Expand All @@ -24,16 +24,16 @@ package main
import (
"os"

"github.com/ehazlett/atlas/version"
log "github.com/sirupsen/logrus"
"github.com/stellarproject/atlas/version"
"github.com/urfave/cli"
)

func main() {
app := cli.NewApp()
app.Name = version.Name
app.Version = version.BuildVersion()
app.Author = "@ehazlett"
app.Author = "@stellarproject"
app.Email = ""
app.Usage = version.Description
app.Flags = []cli.Flag{
Expand Down
Loading

0 comments on commit b14831e

Please sign in to comment.